public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] MX31: Adjust default environment for QONG module
@ 2010-04-28 11:58 Stefano Babic
  2010-04-28 15:29 ` Wolfgang Denk
  2010-04-28 16:45 ` [U-Boot] [PATCH V2] " Stefano Babic
  0 siblings, 2 replies; 4+ messages in thread
From: Stefano Babic @ 2010-04-28 11:58 UTC (permalink / raw)
  To: u-boot

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 variables giving 128KB
more space for u-boot code.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 include/configs/qong.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/qong.h b/include/configs/qong.h
index 1a2f19f..067dc79 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"					\
@@ -274,7 +274,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),"	\
+	"mtdparts=physmap-flash.0:384k(U-Boot),128k(env1),"	\
 	"128k(env2),2560k(kernel),13m(ramdisk),-(user)"
 
 #endif /* __CONFIG_H */
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-04-28 16:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 11:58 [U-Boot] [PATCH] MX31: Adjust default environment for QONG module Stefano Babic
2010-04-28 15:29 ` Wolfgang Denk
2010-04-28 16:10   ` Stefano Babic
2010-04-28 16:45 ` [U-Boot] [PATCH V2] " Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox