Skip to content
Snippets Groups Projects
Commit dfc6c7b6 authored by Stefan Roese's avatar Stefan Roese
Browse files

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


The patch 70431e8a (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: default avatarStefan Roese <sr@denx.de>
parent aeff6d50
No related branches found
No related tags found
No related merge requests found
...@@ -440,7 +440,7 @@ void board_init_f (ulong bootflag) ...@@ -440,7 +440,7 @@ void board_init_f (ulong bootflag)
* - monitor code * - monitor code
* - board info struct * - 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 * Subtract specified amount of memory to hide so that it won't
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment