summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-04-09 11:54:11 +0200
committerStefan Roese <sr@denx.de>2008-04-09 11:54:11 +0200
commitdfc6c7b647dba7ab86749616f0e9e5740deed422 (patch)
tree74f5b2391304be0618d54f7acb8286ba7d029c46
parentaeff6d503b6006573d5c6b04fc658a64bebee5fa (diff)
downloadu-boot-imx-dfc6c7b647dba7ab86749616f0e9e5740deed422.zip
u-boot-imx-dfc6c7b647dba7ab86749616f0e9e5740deed422.tar.gz
u-boot-imx-dfc6c7b647dba7ab86749616f0e9e5740deed422.tar.bz2
ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE
The patch 70431e8a7393b6b793f77957f95b999fc9a269b8 (Make MPC83xx one step closer to full relocation.) doesn't use CFG_MONITOR_BASE anymore. But on 4xx systems _start currently cannot be used for this calculation. So revert back to the original version for now. Signed-off-by: Stefan Roese <sr@denx.de>
-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 7d33914..b2bc4eb 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