Set ENV_PAYLOAD_LOADER to ENV_POSTCAR when CONFIG_RAMPAYLOAD is enabled
Change-Id: I416c74ea83ee68370bbeb53834054bcb18e631e1 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32751 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: ron minnich <rminnich@gmail.com>
This commit is contained in:
parent
90f750bbf0
commit
6302203fb4
|
@ -257,9 +257,14 @@
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG(RAMPAYLOAD)
|
||||||
|
/* ENV_PAYLOAD_LOADER is set to ENV_POSTCAR when CONFIG_RAMPAYLOAD is enabled */
|
||||||
|
#define ENV_PAYLOAD_LOADER ENV_POSTCAR
|
||||||
|
#else
|
||||||
/* ENV_PAYLOAD_LOADER is set when you are in a stage that loads the payload.
|
/* ENV_PAYLOAD_LOADER is set when you are in a stage that loads the payload.
|
||||||
* For now, that is the ramstage. */
|
* For now, that is the ramstage. */
|
||||||
#define ENV_PAYLOAD_LOADER ENV_RAMSTAGE
|
#define ENV_PAYLOAD_LOADER ENV_RAMSTAGE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For pre-DRAM stages and post-CAR always build with simple device model, ie.
|
* For pre-DRAM stages and post-CAR always build with simple device model, ie.
|
||||||
|
|
Loading…
Reference in New Issue