summaryrefslogtreecommitdiff
path: root/src/lib/prog_loaders.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/prog_loaders.c')
-rw-r--r--src/lib/prog_loaders.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c
index 18d54f50eb..0b68805bc0 100644
--- a/src/lib/prog_loaders.c
+++ b/src/lib/prog_loaders.c
@@ -87,11 +87,10 @@ void run_ramstage(void)
struct prog ramstage =
PROG_INIT(PROG_RAMSTAGE, CONFIG_CBFS_PREFIX "/ramstage");
+ /* Call "end of romstage" here if postcar stage doesn't exist */
if (ENV_POSTCAR)
timestamp_add_now(TS_POSTCAR_END);
-
- /* Call "end of romstage" here if postcar stage doesn't exist */
- if (ENV_ROMSTAGE)
+ else
timestamp_add_now(TS_ROMSTAGE_END);
/*