]> Pileus Git - ~andy/linux/commit
mtd: support ONFI multi lun NAND
authorMatthieu CASTET <matthieu.castet@parrot.com>
Mon, 19 Mar 2012 14:35:25 +0000 (15:35 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 27 Mar 2012 00:01:43 +0000 (01:01 +0100)
commit637957551c0ac80de8dfc7650d320c5a98c2c0c0
treedd883015fceec71c899867bd710448dd66c61e48
parent452380efbd72d8d41f53ea64c8a6ea1fedc4394d
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.

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>
drivers/mtd/nand/nand_base.c