summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-dm365-evm.c
diff options
context:
space:
mode:
authorShankarmurthy,Akshay <akshay.s@ti.com>2011-11-09 17:55:20 +0530
committerSekhar Nori <nsekhar@ti.com>2011-12-05 16:47:19 +0530
commit45fc4cce939adc883fba5e02f1f3e0e9ff020c30 (patch)
tree29b0e32d0825a608108dc872d16c132e3e013e8d /arch/arm/mach-davinci/board-dm365-evm.c
parentf1b21c525693b0159aed83b5871f2d0f077f208e (diff)
downloadlinux-45fc4cce939adc883fba5e02f1f3e0e9ff020c30.tar.bz2
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 <akshay.s@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-dm365-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-dm365-evm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c
index 1918ae711428..46e1f4173b97 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 */