summaryrefslogtreecommitdiff
path: root/lib_ppc
diff options
context:
space:
mode:
Diffstat (limited to 'lib_ppc')
-rw-r--r--lib_ppc/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 7d339144924..b2bc4ebc5b8 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -440,7 +440,7 @@ void board_init_f (ulong bootflag)
* - monitor code
* - board info struct
*/
- len = (ulong)&_end - (ulong)&_start + EXC_OFF_SYS_RESET;
+ len = (ulong)&_end - CFG_MONITOR_BASE;
/*
* Subtract specified amount of memory to hide so that it won't