Commit 6467ecbd authored by Alejandro Sierra's avatar Alejandro Sierra Committed by Terry Lv

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: default avatarAlejandro Sierra <b18039@freescale.com>
parent bab03c3d
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment