Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45fc4cce authored by Shankarmurthy,Akshay's avatar Shankarmurthy,Akshay Committed by Sekhar Nori
Browse files

ARM: davinci: dm365 evm: align nand partition table to u-boot



Current partition information maintained in kernel does not match with
u-boot, this leads to corruption of u-boot env when we update uImage
from kernel. Patch fixes it to match with u-boot partition information.

Signed-off-by: default avatarShankarmurthy,Akshay <akshay.s@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent f1b21c52
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -107,7 +107,7 @@ static struct mtd_partition davinci_nand_partitions[] = {
		/* UBL (a few copies) plus U-Boot */
		/* UBL (a few copies) plus U-Boot */
		.name		= "bootloader",
		.name		= "bootloader",
		.offset		= 0,
		.offset		= 0,
		.size		= 28 * NAND_BLOCK_SIZE,
		.size		= 30 * NAND_BLOCK_SIZE,
		.mask_flags	= MTD_WRITEABLE, /* force read-only */
		.mask_flags	= MTD_WRITEABLE, /* force read-only */
	}, {
	}, {
		/* U-Boot environment */
		/* U-Boot environment */