From: Alejandro Sierra Date: Mon, 3 Dec 2012 23:59:02 +0000 (-0600) Subject: ENGR00235624 Quad/DualLite ARD: MTD partition non aligned X-Git-Tag: v3.0.35-fsl~203 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2edd3d0967bf1d9e95934b4e702a46118c6beee1;p=karo-tx-linux.git ENGR00235624 Quad/DualLite ARD: MTD partition non aligned MTD partition for SPI-NOR was not aligned to 8K. Replace its offset from MTDPART_OFS_APPEND to MTDPART_OFS_NXTBLK. Signed-off-by: Alejandro Sierra --- diff --git a/arch/arm/mach-mx6/board-mx6q_sabreauto.c b/arch/arm/mach-mx6/board-mx6q_sabreauto.c index 156c5530a956..bd51ddddf84b 100644 --- a/arch/arm/mach-mx6/board-mx6q_sabreauto.c +++ b/arch/arm/mach-mx6/board-mx6q_sabreauto.c @@ -416,7 +416,7 @@ static struct mtd_partition m25p32_partitions[] = { .mask_flags = MTD_WRITEABLE, }, { .name = "kernel", - .offset = MTDPART_OFS_APPEND, + .offset = MTDPART_OFS_NXTBLK, .size = MTDPART_SIZ_FULL, }, };