summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-08-30 09:25:12 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-31 17:58:25 -0700
commit8d7f1eb2d597ee2a79ff852bd6b027c44ef888d4 (patch)
treea1fbc49ceeaf73b60e2c151b6c86cb5fe2a3cef6
parentef13b42520eb53f1db18713b7777ef2746c9c16a (diff)
i.MX6: mx6q_sabrelite: set MTD size for SPI Nor to match U-Boot
-rw-r--r--arch/arm/mach-mx6/board-mx6q_sabrelite.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_sabrelite.c b/arch/arm/mach-mx6/board-mx6q_sabrelite.c
index c1eebcadd81c..9712028e785d 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabrelite.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabrelite.c
@@ -489,10 +489,15 @@ static struct mtd_partition imx6_sabrelite_spi_nor_partitions[] = {
{
.name = "bootloader",
.offset = 0,
- .size = 0x00100000,
+ .size = 768*1024,
},
{
- .name = "kernel",
+ .name = "ubparams",
+ .offset = MTDPART_OFS_APPEND,
+ .size = 8*1024,
+ },
+ {
+ .name = "unused",
.offset = MTDPART_OFS_APPEND,
.size = MTDPART_SIZ_FULL,
},