From: Stefano Babic Date: Wed, 28 Apr 2010 18:45:25 +0200 Subject: [U-Boot] [PATCH V2] MX31: Adjust default environment for QONG module In-Reply-To: <1272455915-1143-1-git-send-email-sbabic@denx.de> References: <1272455915-1143-1-git-send-email-sbabic@denx.de> Message-ID: <1272473125-26375-1-git-send-email-sbabic@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Because the the size of u-boot increased after adding new features (mainly the support for ubi/ubifs), storing u-boot requires an additional sector on the flash. The patch adjusts the kernel_addr and mtdparts variable giving 128KB more space for u-boot code. Signed-off-by: Stefano Babic --- include/configs/qong.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/qong.h b/include/configs/qong.h index 1284a00..dc828f6 100644 --- a/include/configs/qong.h +++ b/include/configs/qong.h @@ -144,7 +144,7 @@ "addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" \ "addmisc=setenv bootargs ${bootargs}\0" \ "uboot_addr=a0000000\0" \ - "kernel_addr=a0080000\0" \ + "kernel_addr=a00a0000\0" \ "ramdisk_addr=a0300000\0" \ "u-boot=qong/u-boot.bin\0" \ "kernel_addr_r=80800000\0" \ @@ -276,7 +276,7 @@ extern int qong_nand_rdy(void *chip); #define CONFIG_FLASH_CFI_MTD #define MTDIDS_DEFAULT "nor0=physmap-flash.0" #define MTDPARTS_DEFAULT \ - "mtdparts=physmap-flash.0:256k(U-Boot),128k(env1)," \ - "128k(env2),2560k(kernel),13m(ramdisk),-(user)" + "mtdparts=physmap-flash.0:384k(U-Boot),128k(env1)," \ + "128k(env2),2432k(kernel),13m(ramdisk),-(user)" #endif /* __CONFIG_H */ -- 1.6.3.3