[U-Boot] [PATCH] ppc4xx: Fix building of sc3 board
Heiko Schocher
hs at denx.de
Tue Jul 27 07:07:24 CEST 2010
Update image size after addition of new environment handling.
Signed-off-by: Heiko Schocher <hs at denx.de>
---
board/sc3/config.mk | 2 +-
include/configs/sc3.h | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/board/sc3/config.mk b/board/sc3/config.mk
index 1bdf5e4..a46b197 100644
--- a/board/sc3/config.mk
+++ b/board/sc3/config.mk
@@ -21,4 +21,4 @@
# MA 02111-1307 USA
#
-TEXT_BASE = 0xFFFC0000
+TEXT_BASE = 0xFFFA0000
diff --git a/include/configs/sc3.h b/include/configs/sc3.h
index 61eb26e..19084ce 100644
--- a/include/configs/sc3.h
+++ b/include/configs/sc3.h
@@ -379,8 +379,9 @@
*/
#define CONFIG_SYS_SDRAM_BASE 0x00000000
#define CONFIG_SYS_FLASH_BASE 0xFFE00000
-#define CONFIG_SYS_MONITOR_BASE 0xFFFC0000 /* placed last 256k */
-#define CONFIG_SYS_MONITOR_LEN (224 * 1024) /* Reserve 224 KiB for Monitor */
+
+#define CONFIG_SYS_MONITOR_BASE TEXT_BASE /* Start of U-Boot */
+#define CONFIG_SYS_MONITOR_LEN (0xFFFFFFFF - CONFIG_SYS_MONITOR_BASE + 1)
#define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserve 128 KiB for malloc() */
/*
--
1.6.2.5
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list