diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-09-22 03:57:26 +0200 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2011-10-03 18:35:12 -0500 |
commit | ce80ddc1809193bc450b4d1e104d1ab2f9ee8dd2 (patch) | |
tree | 5480eff5e27a0fd7a905a71aed2234c06a3d9e06 /drivers/mtd/nand | |
parent | 17d261df18acfab96dcb5e0e078d2fe81a7d70ad (diff) | |
download | u-boot-imx-ce80ddc1809193bc450b4d1e104d1ab2f9ee8dd2.zip u-boot-imx-ce80ddc1809193bc450b4d1e104d1ab2f9ee8dd2.tar.gz u-boot-imx-ce80ddc1809193bc450b4d1e104d1ab2f9ee8dd2.tar.bz2 |
NAND: Make page, erase, oob size available via cmd_nand
The "nand info" and "nand device" now set shell/environment variables:
nand_writesize ... nand page size
nand_oobsize ..... nand oob area size
nand_erasesize ... nand erase block size
Also, the "nand info" command now displays this info.
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: removed unnecessary memsets]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'drivers/mtd/nand')
0 files changed, 0 insertions, 0 deletions