diff options
author | Adrian Alonso <aalonso@freescale.com> | 2012-11-20 17:17:26 -0600 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-11-28 16:57:01 +0800 |
commit | 6e2ae1bdb0160c62affe4d751ab55a9f8265cf2a (patch) | |
tree | ba4548c167f92bd9432e609b51c90ea8cfd681ae | |
parent | dd0c17c688921e2fb81153e844f036adb923e9f6 (diff) |
ENGR00234354-1: board-mx6q_sabreauto aline spi-nor partition layout
* Aline spi-nor partition layout
* set correct chip-select value
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_sabreauto.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index 146adad4580e..ee8935f2c683 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -408,7 +408,13 @@ static struct mtd_partition m25p32_partitions[] = { { .name = "bootloader", .offset = 0, - .size = 0x00100000, + .size = SZ_256K, + .mask_flags = MTD_WRITEABLE, + }, { + .name = "bootenv", + .offset = MTDPART_OFS_APPEND, + .size = SZ_8K, + .mask_flags = MTD_WRITEABLE, }, { .name = "kernel", .offset = MTDPART_OFS_APPEND, @@ -429,7 +435,7 @@ static struct spi_board_info m25p32_spi0_board_info[] __initdata = { .modalias = "m25p80", .max_speed_hz = 20000000, .bus_num = 0, - .chip_select = 0, + .chip_select = 1, .platform_data = &m25p32_spi_flash_data, }, }; |