ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE

The patch 70431e8a73 (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>
This commit is contained in:
Stefan Roese 2008-04-09 11:54:11 +02:00
parent aeff6d503b
commit dfc6c7b647

View file

@ -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