Replace ENV_RAMSTAGE with ENV_PAYLOAD_LOADER
This patch relying on new rule, ENV_PAYLOAD_LOADER which is set to ENV_RAMSTAGE. This approach will help to add future optimization (rampayload) in coreboot flow if required. Change-Id: Ib54ece7b9e5f281f8a092dc6f38c07406edfa5fa Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32725 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com>
This commit is contained in:
@ -160,7 +160,7 @@ fail:
|
||||
die_with_post_code(POST_INVALID_ROM, "Ramstage was not loaded!\n");
|
||||
}
|
||||
|
||||
#ifdef __RAMSTAGE__ // gc-sections should take care of this
|
||||
#if ENV_PAYLOAD_LOADER // gc-sections should take care of this
|
||||
|
||||
static struct prog global_payload =
|
||||
PROG_INIT(PROG_PAYLOAD, CONFIG_CBFS_PREFIX "/payload");
|
||||
|
Reference in New Issue
Block a user