From 8e636ad2a2fba6583a25cf4317aa12d384d482a2 Mon Sep 17 00:00:00 2001 From: Pekon Gupta Date: Tue, 10 Dec 2013 18:01:58 +0530 Subject: [PATCH] dra7xx_evm: remove unused MTD partitions removed u-boot.backup1 and u-boot-spl-os.backup1 partitions Signed-off-by: Pekon Gupta --- include/configs/dra7xx_evm.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index 413fe4be4c..a92df4dd29 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -130,17 +130,15 @@ "128k(SPL.backup2)," \ "640k(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 /* 256 KiB */ #endif /* NAND: SPL related configs */ @@ -155,8 +153,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 @@ -169,9 +167,9 @@ "root=${nandroot} " \ "rootfstype=${nandrootfstype}\0" \ "dfu_alt_info_nand=" DFU_ALT_INFO_NAND "\0" \ - "nandroot=ubi0:rootfs rw ubi.mtd=11,2048\0" \ + "nandroot=ubi0 rw ubi.mtd=9,2048\0" \ "nandrootfstype=ubifs rootwait=1\0" \ - "nandsrcaddr=0x400000\0" \ + "nandsrcaddr=0x300000\0" \ "nandboot=echo Booting from nand ...; " \ "run nandargs; " \ "nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; " \