Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63432 )
Change subject: timestamp: Replace TS_ROMSTAGE_END conditional ......................................................................
timestamp: Replace TS_ROMSTAGE_END conditional
If a combo bootblock+romstage was created, it may not have ENV_ROMSTAGE set, while the timestamp of (embedded) romstage should remain in its place.
Change-Id: I713732a291b6a6c0d8fcb23266f765fd33816db8 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/lib/prog_loaders.c 1 file changed, 2 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/63432/1
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c index 0e175c6..ef58f72 100644 --- a/src/lib/prog_loaders.c +++ b/src/lib/prog_loaders.c @@ -89,11 +89,10 @@ 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);
/*