]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: support ONFI multi lun NAND
authorMatthieu CASTET <matthieu.castet@parrot.com>
Mon, 19 Mar 2012 14:35:25 +0000 (15:35 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:38 +0000 (08:35 +0200)
commit4a5bb30ee91fdcac1f698c94825fd3532f48802d
treecb21051d537518abd133f0411008753cb6c0aed4
parent7e6bf88c3d10ae8eff148cc13e74175f4dc9c812
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>
Signed-off-by: Huang Shijie <b32955@freescale.com>
drivers/mtd/nand/nand_base.c