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

POST: Execute SPR test after relocation


On LWMON5 we now use d-cache as init-ram and stack. The SPR POST test uses
self modifying code and this doesn't work with stack in d-cache, since
I can't move the code from d-cache to i-cache. We move the SPR test to
be executed a little later, after relocation. Then stack is located in
SDRAM and this self-modifying code is no problem anymore.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 8f24e063
No related branches found
No related tags found
No related merge requests found
...@@ -194,7 +194,7 @@ struct post_test post_list[] = ...@@ -194,7 +194,7 @@ struct post_test post_list[] =
"SPR test", "SPR test",
"spr", "spr",
"This test checks SPR contents.", "This test checks SPR contents.",
POST_ROM | POST_ALWAYS | POST_PREREL, POST_RAM | POST_ALWAYS,
&spr_post_test, &spr_post_test,
NULL, NULL,
NULL, NULL,
......
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