summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2011-09-23 15:43:10 +0200
committerScott Wood <scottwood@freescale.com>2011-10-03 18:35:12 -0500
commitfb3659ac422801ea18f36ef62926df70beeada4c (patch)
tree80f4eb0ee045e88ef731eab2f494317e161379dc /doc
parent6d41419f0b010db03c01dec59875144457aa11d2 (diff)
downloadu-boot-imx-fb3659ac422801ea18f36ef62926df70beeada4c.zip
u-boot-imx-fb3659ac422801ea18f36ef62926df70beeada4c.tar.gz
u-boot-imx-fb3659ac422801ea18f36ef62926df70beeada4c.tar.bz2
NAND: Add nand read.raw and write.raw commands
These commands should work around various "hardware" ECC and BCH methods. Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> [scottwood@freescale.com: s/write the page/access the page/] Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.nand9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/README.nand b/doc/README.nand
index 751b693..023740e 100644
--- a/doc/README.nand
+++ b/doc/README.nand
@@ -94,6 +94,15 @@ Commands:
of data for one 512-byte page or 2 256-byte pages. There is no check
for bad blocks.
+ nand read.raw addr ofs|partition
+ Read page from `ofs' in NAND flash to `addr'. This reads the raw page,
+ so ECC is avoided and the OOB area is read as well.
+
+ nand write.raw addr ofs|partition
+ Write page from `addr' to `ofs' in NAND flash. This writes the raw page,
+ so ECC is avoided and the OOB area is written as well, making the whole
+ page written as-is.
+
Configuration Options:
CONFIG_CMD_NAND