Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32751
Change subject: Set ENV_PAYLOAD_LOADER to ENV_POSTCAR when CONFIG_RAMPAYLOAD is enable
......................................................................
Set ENV_PAYLOAD_LOADER to ENV_POSTCAR when CONFIG_RAMPAYLOAD is enable
Change-Id: I416c74ea83ee68370bbeb53834054bcb18e631e1
Signed-off-by: Subrata Banik <subrata.banik(a)intel.com>
---
M src/include/rules.h
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/32751/1
diff --git a/src/include/rules.h b/src/include/rules.h
index 801a7fe..5ee535b 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 enable */
+#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.
--
To view, visit https://review.coreboot.org/c/coreboot/+/32751
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I416c74ea83ee68370bbeb53834054bcb18e631e1
Gerrit-Change-Number: 32751
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subrata.banik(a)intel.com>
Gerrit-MessageType: newchange