summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prog_loaders.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c
index 69e81cda72..419f4cd834 100644
--- a/src/lib/prog_loaders.c
+++ b/src/lib/prog_loaders.c
@@ -129,10 +129,9 @@ void run_ramstage(void)
timestamp_add_now(TS_START_COPYRAM);
- if (CONFIG(RELOCATABLE_RAMSTAGE)) {
- if (load_relocatable_ramstage(&ramstage))
- goto fail;
- } else if (cbfs_prog_stage_load(&ramstage))
+ if (ENV_X86 && load_relocatable_ramstage(&ramstage))
+ goto fail;
+ else if (cbfs_prog_stage_load(&ramstage))
goto fail;
stage_cache_add(STAGE_RAMSTAGE, &ramstage);