summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/prog_loaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c
index a296bd6da5..0e175c6b70 100644
--- a/src/lib/prog_loaders.c
+++ b/src/lib/prog_loaders.c
@@ -27,7 +27,7 @@ void run_romstage(void)
timestamp_add_now(TS_COPYROM_START);
if (ENV_X86 && CONFIG(BOOTBLOCK_NORMAL)) {
- if (legacy_romstage_select_and_load(&romstage))
+ if (legacy_romstage_select_and_load(&romstage) != CB_SUCCESS)
goto fail;
} else {
if (cbfs_prog_stage_load(&romstage))