[U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board

matthias.fuchs at esd.eu matthias.fuchs at esd.eu
Mon Jul 26 17:17:52 CEST 2010


From: Matthias Fuchs <matthias.fuchs at esd.eu>

Update image size after addition of new environment handling.

Signed-off-by: Matthias Fuchs <matthias.fuchs at esd.eu>
---
 board/esd/canbt/config.mk |    8 +-------
 include/configs/CANBT.h   |    6 +++---
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/board/esd/canbt/config.mk b/board/esd/canbt/config.mk
index 80076cd..ae855dc 100644
--- a/board/esd/canbt/config.mk
+++ b/board/esd/canbt/config.mk
@@ -20,10 +20,4 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-
-#
-# esd ADCIOP boards
-#
-
-TEXT_BASE = 0xFFFE0000
-#TEXT_BASE = 0xFFFD0000
+TEXT_BASE = 0xFFFC0000
diff --git a/include/configs/CANBT.h b/include/configs/CANBT.h
index cdba81d..115a6f9 100644
--- a/include/configs/CANBT.h
+++ b/include/configs/CANBT.h
@@ -120,9 +120,9 @@
  * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0
  */
 #define CONFIG_SYS_SDRAM_BASE		0x00000000
-#define CONFIG_SYS_FLASH_BASE		0xFFFE0000
-#define CONFIG_SYS_MONITOR_BASE	CONFIG_SYS_FLASH_BASE
-#define CONFIG_SYS_MONITOR_LEN		(128 * 1024)	/* Reserve 128 kB for Monitor	*/
+#define CONFIG_SYS_FLASH_BASE		CONFIG_SYS_MONITOR_BASE
+#define CONFIG_SYS_MONITOR_BASE		TEXT_BASE
+#define CONFIG_SYS_MONITOR_LEN		(~(TEXT_BASE) + 1)
 #define CONFIG_SYS_MALLOC_LEN		(128 * 1024)	/* Reserve 128 kB for malloc()	*/
 
 /*
-- 
1.6.1



More information about the U-Boot mailing list