]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b0599f00811de37c363c01c84b5454930a5d745
treed3713c7b47f472bfea939305b2a67ec5198f2768
parent45209ebad574de61b1e2db41035629bf5c89702c
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