mtd: pxa3xx_nand: condense the flash definition
authorLei Wen <leiwen@marvell.com>
Tue, 17 Aug 2010 05:50:23 +0000 (13:50 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:38:47 +0000 (23:38 +0100)
commitc1f82478c535f1de9fecf3cafa82014f312d5d4e
treed3713c7b47f472bfea939305b2a67ec5198f2768
parent13ed7aed45e370f30a746e49e674144297a92e16
mtd: pxa3xx_nand: condense the flash definition

Adding a new flash definition would need less code.
Keep the platform passing flash definition method.
If one flash is both defined in platform data and builtin table,
driver would select the one from platform data first.

By this way, platform could select the timing most suit for itself,
not need to follow the common settings.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Eric Miao <eric.y.miao@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/plat-pxa/include/plat/pxa3xx_nand.h
drivers/mtd/nand/Kconfig
drivers/mtd/nand/pxa3xx_nand.c