summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorMatthieu CASTET <matthieu.castet@parrot.com>2012-03-19 15:35:25 +0100
committerScott Wood <scottwood@freescale.com>2012-09-17 16:17:28 -0500
commitd62e9caaaf7e6f5c7d86c9ea19170bfa5adda8be (patch)
treeef94234877ba92201bc862f833ac0a980e1193b3 /include/nand.h
parenta6f0c4faa4c65a7b7048b12c9d180d7e1aad1721 (diff)
mtd: support ONFI multi lun NAND
With onfi a flash is organized into one or more logical units (LUNs). A logical unit (LUN) is the minimum unit that can independently execute commands and report status. Mtd does not exploit LUN, so make it see a big single flash where size is lun_size * number_of_lun. Without this patch MT29F8G08ADBDAH4 size is 512MiB instead of 1GiB. Artem: split long line on 2 shorter ones. This is commit 637957551c0ac80de8dfc7650d320c5a98c2c0c0 from Linux Signed-off-by: Matthieu Castet <matthieu.castet@parrot.com> Acked-by: Florian Fainelli <ffainelli@freebox.fr> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> [scottwood@freescale.com: picked from Linux into U-Boot] Reported-by: Rafael Beims <rafael.beims@gmail.com> Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'include/nand.h')
0 files changed, 0 insertions, 0 deletions