소스 검색

[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 <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Mike Rapoport 16 년 전
부모
커밋
b3992b6653
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      arch/arm/mach-pxa/cm-x300.c

+ 1 - 0
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 = {
 static struct pxa3xx_nand_platform_data cm_x300_nand_info = {
 	.enable_arbiter	= 1,
 	.enable_arbiter	= 1,
+	.keep_config	= 1,
 	.parts		= cm_x300_nand_partitions,
 	.parts		= cm_x300_nand_partitions,
 	.nr_parts	= ARRAY_SIZE(cm_x300_nand_partitions),
 	.nr_parts	= ARRAY_SIZE(cm_x300_nand_partitions),
 };
 };