mtd: pxa3xx_nand: clean the keep configure code
authorLei Wen <leiwen@marvell.com>
Thu, 3 Mar 2011 03:27:01 +0000 (11:27 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Mar 2011 14:22:51 +0000 (14:22 +0000)
commit4332c116869ceca58638beabd9e9a5d7db4cef83
tree634c53f84bc2366ed5d31f47c491f2de324b9177
parent401e67e225f350757e11e39392dcc6a0fddcea63
mtd: pxa3xx_nand: clean the keep configure code

Use nand_scan_ident to unify the need of mtd member initilization
for both normal detection and keep configuration method.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/arm/plat-pxa/include/plat/pxa3xx_nand.h
drivers/mtd/nand/pxa3xx_nand.c