diff options
author | Alejandro Sierra <b18039@freescale.com> | 2012-11-27 18:27:23 -0600 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-11-30 14:38:44 +0800 |
commit | a74baa8f0618807693ca014ca9c5c1d085336e2a (patch) | |
tree | 3ffe11351bd63135be8aa46625d86791fbd9d615 | |
parent | acd5d56de2c27fc3fa7c993a580cb0e9377c1112 (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.c | 4 |
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 42447dac4828..6e8c2c0fb57a 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -403,7 +403,6 @@ static struct mtd_partition m25p32_partitions[] = { .name = "bootloader", .offset = 0, .size = SZ_256K, - .mask_flags = MTD_WRITEABLE, }, { .name = "bootenv", .offset = MTDPART_OFS_APPEND, @@ -429,7 +428,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, }, }; @@ -444,7 +443,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, |