diff options
author | Subrata Banik <subrata.banik@intel.com> | 2019-05-11 20:12:20 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2019-06-13 04:40:05 +0000 |
commit | 6302203fb439a2d87566cc3e107359da41ce0560 (patch) | |
tree | 0f59f6a1088c0770390c223613b55592ca76e72c /src/include | |
parent | 90f750bbf0309bdf038a5af9f85aba323251072d (diff) |
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>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/rules.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/rules.h b/src/include/rules.h index ce968f0dd9..fcb827df90 100644 --- a/src/include/rules.h +++ b/src/include/rules.h @@ -257,9 +257,14 @@ #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. * For now, that is the ramstage. */ #define ENV_PAYLOAD_LOADER ENV_RAMSTAGE +#endif /** * For pre-DRAM stages and post-CAR always build with simple device model, ie. |