From 670d917a055f415f5054229121c2b190c0a5bd42 Mon Sep 17 00:00:00 2001 From: Pekon Gupta Date: Tue, 10 Dec 2013 18:01:57 +0530 Subject: [PATCH] am43xx_evm: remove unused MTD partitions removed u-boot.backup1 and u-boot-spl-os.backup1 partitions Signed-off-by: Pekon Gupta --- include/configs/am43xx_evm.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index 8afb8d77a6..e6ea1ca1a5 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -256,17 +256,15 @@ "256k(SPL.backup2)," \ "256k(SPL.backup3)," \ "1m(u-boot)," \ - "1m(u-boot.backup1)," \ - "256k(u-boot-spl-os)," \ - "256k(u-boot-spl-os.backup1)," \ + "512k(u-boot-spl-os)," \ "256k(u-boot-env)," \ "256k(u-boot-env.backup1)," \ "5m(kernel)," \ "-(rootfs)" #undef CONFIG_ENV_IS_NOWHERE #define CONFIG_ENV_IS_IN_NAND - #define CONFIG_ENV_OFFSET 0x380000 - #define CONFIG_ENV_OFFSET_REDUND 0x3C0000 + #define CONFIG_ENV_OFFSET 0x280000 + #define CONFIG_ENV_OFFSET_REDUND 0x2C0000 #define CONFIG_SYS_ENV_SECT_SIZE (256 * 1024) #endif /* NAND: SPL related configs */ @@ -281,8 +279,8 @@ #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x100000 /* NAND: SPL falcon mode related configs */ #ifdef CONFIG_SPL_OS_BOOT - #define CONFIG_CMD_SPL_NAND_OFS 0x300000 /* os-boot parameters*/ - #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x400000 /* kernel offset */ + #define CONFIG_CMD_SPL_NAND_OFS 0x200000 /* os-boot parameters*/ + #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS 0x300000 /* kernel offset */ #define CONFIG_CMD_SPL_WRITE_SIZE 0x2000 #endif #endif @@ -295,7 +293,7 @@ "root=${nandroot} " \ "rootfstype=${nandrootfstype}\0" \ "dfu_alt_info_nand=" DFU_ALT_INFO_NAND "\0" \ - "nandroot=ubi0:rootfs rw ubi.mtd=11,4096\0" \ + "nandroot=ubi0 rw ubi.mtd=9,4096\0" \ "nandrootfstype=ubifs rootwait=1\0" \ "nandboot=echo Booting from nand ...; " \ "run nandargs; " \