Replace some ENV_ROMSTAGE with ENV_RAMINIT
With a combined bootblock+romstage ENV_ROMSTAGE might no longer evaluate true. Change-Id: I733cf4e4ab177e35cd260318556ece1e73d082dc Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63376 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
committed by
Felix Held
parent
0310d34c2f
commit
11cac784ff
@ -77,7 +77,7 @@ enum cb_err fsp_validate_component(struct fsp_header *hdr, void *fsp_file, size_
|
||||
return CB_ERR;
|
||||
}
|
||||
|
||||
if (ENV_ROMSTAGE)
|
||||
if (ENV_RAMINIT)
|
||||
soc_validate_fspm_header(hdr);
|
||||
|
||||
return CB_SUCCESS;
|
||||
@ -118,7 +118,7 @@ void fsp_handle_reset(uint32_t status)
|
||||
|
||||
static inline bool fspm_env(void)
|
||||
{
|
||||
if (ENV_ROMSTAGE)
|
||||
if (ENV_RAMINIT)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user