summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-08-27 09:21:54 -0700
committerIan Wisbon <ian.wisbon@timesys.com>2012-08-29 16:47:41 -0400
commitfe089418f6e2090ad4604f119d1e9c4672d51f38 (patch)
treefe1ed3485f537c20d6f89841b6a59fb388cdaa60
parentda75603f8d2f107722c2628b5f6019f5e81d8c39 (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 787e3eb50eb4..6adfd8f38cbd 100644
--- a/arch/arm/mach-mx6/board-mx6q_sabrelite.c
+++ b/arch/arm/mach-mx6/board-mx6q_sabrelite.c
@@ -536,10 +536,15 @@ static struct mtd_partition imx6_sabrelite_spi_nor_partitions[] = {
{
.name = "bootloader",
.offset = 0,
- .size = 0x00040000,
+ .size = 768*1024,
},
{
- .name = "kernel",
+ .name = "ubparams",
+ .offset = MTDPART_OFS_APPEND,
+ .size = 8*1024,
+ },
+ {
+ .name = "unused",
.offset = MTDPART_OFS_APPEND,
.size = MTDPART_SIZ_FULL,
},