From: Mike Rapoport Date: Thu, 4 Jun 2009 07:44:51 +0000 (+0300) Subject: [ARM] pxa/cm-x300: use OBM configuration for NAND flash X-Git-Tag: v3.12-rc1~14042^2~13^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3992b665379c8de6f47cd0b0e5b3004d26b05be;p=kernel%2Fkernel-generic.git [ARM] pxa/cm-x300: use OBM configuration for NAND flash CM-X300 can be assembled with different NAND flashes from different manufacturers. Adding their configuration to the kernel is impractical, therefore we will use the default NAND controller settings set up by the bootloader. Signed-off-by: Mike Rapoport Signed-off-by: Eric Miao --- diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index a97f87a..5295304 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c @@ -265,6 +265,7 @@ static struct mtd_partition cm_x300_nand_partitions[] = { static struct pxa3xx_nand_platform_data cm_x300_nand_info = { .enable_arbiter = 1, + .keep_config = 1, .parts = cm_x300_nand_partitions, .nr_parts = ARRAY_SIZE(cm_x300_nand_partitions), };