aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-05-04 23:44:59 +0000
committerwdenk <wdenk>2005-05-04 23:44:59 +0000
commita710d4be80a110652b9cdad97ba8ccedc73b26d2 (patch)
treee9dfd7f26cd7a88d9770ab22b412d3070c8b9fa7
parent90dc67049df9db3469e6dfa6073d36b7ae848d05 (diff)
Use linker ASSERT statement to prevent undetected overlapping of
sections on PPChameleon board; other boards might use this, too.
-rw-r--r--CHANGELOG3
-rw-r--r--board/dave/PPChameleonEVB/u-boot.lds1
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 2d932851f..28e19b99e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
Changes for U-Boot 1.1.3:
======================================================================
+* Use linker ASSERT statement to prevent undetected overlapping of
+ sections on PPChameleon board; other boards might use this, too.
+
* Patch by Stefan Roese, 03 May 2005:
Update for P3G4
Fix problems in cmd_universe.c
diff --git a/board/dave/PPChameleonEVB/u-boot.lds b/board/dave/PPChameleonEVB/u-boot.lds
index 269383848..d6117674b 100644
--- a/board/dave/PPChameleonEVB/u-boot.lds
+++ b/board/dave/PPChameleonEVB/u-boot.lds
@@ -140,6 +140,7 @@ SECTIONS
*(COMMON)
}
+ ppcenv_assert = ASSERT(. < 0xFFFF8000, ".bss section too big, overlaps .ppcenv section. Please update your confguration: CFG_MONITOR_BASE, CFG_MONITOR_LEN and TEXT_BASE may need to be modified.");
. = 0xFFFF8000;
.ppcenv :
{