From: Shankarmurthy,Akshay Date: Wed, 9 Nov 2011 12:25:20 +0000 (+0530) Subject: ARM: davinci: dm365 evm: align nand partition table to u-boot X-Git-Tag: submit/tizen/20141203.153721~5754^2~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45fc4cce939adc883fba5e02f1f3e0e9ff020c30;p=platform%2Fkernel%2Flinux-arm64.git 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: Shankarmurthy,Akshay Signed-off-by: Sekhar Nori --- diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index 1918ae71142..46e1f4173b9 100644 --- a/arch/arm/mach-davinci/board-dm365-evm.c +++ b/arch/arm/mach-davinci/board-dm365-evm.c @@ -107,7 +107,7 @@ static struct mtd_partition davinci_nand_partitions[] = { /* UBL (a few copies) plus U-Boot */ .name = "bootloader", .offset = 0, - .size = 28 * NAND_BLOCK_SIZE, + .size = 30 * NAND_BLOCK_SIZE, .mask_flags = MTD_WRITEABLE, /* force read-only */ }, { /* U-Boot environment */