summaryrefslogtreecommitdiffstats
path: root/post
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-01-09 10:38:58 +0100
committerStefan Roese <sr@denx.de>2008-01-09 10:38:58 +0100
commitb2e2142c500c48a57f18f9dd30e66c13caea0971 (patch)
tree7ba044da22ce81ecf4a83280bd75df7033493a27 /post
parent8f24e0637ae113500d8bd60d80d57afcc0aa8bde (diff)
downloadtalos-obmc-uboot-b2e2142c500c48a57f18f9dd30e66c13caea0971.tar.gz
talos-obmc-uboot-b2e2142c500c48a57f18f9dd30e66c13caea0971.zip
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: Stefan Roese <sr@denx.de>
Diffstat (limited to 'post')
-rw-r--r--post/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/tests.c b/post/tests.c
index e1c3d28f5b..0c49e32447 100644
--- a/post/tests.c
+++ b/post/tests.c
@@ -194,7 +194,7 @@ struct post_test post_list[] =
"SPR test",
"spr",
"This test checks SPR contents.",
- POST_ROM | POST_ALWAYS | POST_PREREL,
+ POST_RAM | POST_ALWAYS,
&spr_post_test,
NULL,
NULL,
OpenPOWER on IntegriCloud