summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Sierra <b18039@freescale.com>2012-11-27 18:27:23 -0600
committerTerry Lv <r65388@freescale.com>2012-11-29 17:45:08 +0800
commit6467ecbd0ce9072b137a935c7268fe1c3ea44457 (patch)
tree33ae98b1e9cc23cf9f52df0a7ac7da907649a99d
parentbab03c3dfe84051f6ba683a9701921994fac98bb (diff)
ENGR00235081 Quad DL: Fix chip select for SPI-NOR and flags
Fix chip select for SPI-NOR and remove flags for no writeable partition for weim nor and SPI-NOR Signed-off-by: Alejandro Sierra <b18039@freescale.com>
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabreauto.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
index e191e1de38b6..156c5530a956 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c
@@ -409,7 +409,6 @@ static struct mtd_partition m25p32_partitions[] = {
.name = "bootloader",
.offset = 0,
.size = SZ_256K,
- .mask_flags = MTD_WRITEABLE,
}, {
.name = "bootenv",
.offset = MTDPART_OFS_APPEND,
@@ -435,7 +434,7 @@ static struct spi_board_info m25p32_spi0_board_info[] __initdata = {
.modalias = "m25p80",
.max_speed_hz = 20000000,
.bus_num = 0,
- .chip_select = 1,
+ .chip_select = 0,
.platform_data = &m25p32_spi_flash_data,
},
};
@@ -450,7 +449,6 @@ static struct mtd_partition mxc_nor_partitions[] = {
.name = "bootloader",
.offset = 0,
.size = SZ_256K,
- .mask_flags = MTD_WRITEABLE,
}, {
.name = "bootenv",
.offset = MTDPART_OFS_APPEND,