[coreboot-gerrit] Change in coreboot[master]: toolchain: Add POSTCAR as a stage we have a toolchain for

Patrick Georgi (Code Review) gerrit at coreboot.org
Wed Oct 31 14:26:07 CET 2018


Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/29395


Change subject: toolchain: Add POSTCAR as a stage we have a toolchain for
......................................................................

toolchain: Add POSTCAR as a stage we have a toolchain for

Fixes building vb2lib for postcar. Since postcar is an x86ism, add the
Kconfig options only for x86.

Change-Id: Ib92436bc7270c24689dcf01a47f0c6fe7661814b
Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
M src/arch/x86/Kconfig
M toolchain.inc
2 files changed, 9 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/29395/1

diff --git a/src/arch/x86/Kconfig b/src/arch/x86/Kconfig
index ff26a15..7c8371e 100644
--- a/src/arch/x86/Kconfig
+++ b/src/arch/x86/Kconfig
@@ -35,6 +35,10 @@
 	bool
 	default n
 
+config ARCH_POSTCAR_X86_32
+	bool
+	default ARCH_ROMSTAGE_X86_32 && POSTCAR_STAGE
+
 config ARCH_RAMSTAGE_X86_32
 	bool
 	default n
@@ -55,6 +59,10 @@
 	bool
 	default n
 
+config ARCH_POSTCAR_X86_64
+	bool
+	default ARCH_ROMSTAGE_X86_64 && POSTCAR_STAGE
+
 config ARCH_RAMSTAGE_X86_64
 	bool
 	default n
diff --git a/toolchain.inc b/toolchain.inc
index ec57b5d..edc9d43 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -47,7 +47,7 @@
 ROMCC=CCC_CC="$(ROMCC_BIN)" $(CC)
 endif
 
-COREBOOT_STANDARD_STAGES := decompressor bootblock verstage romstage ramstage
+COREBOOT_STANDARD_STAGES := decompressor bootblock verstage romstage postcar ramstage
 MAP-decompressor := bootblock
 
 ARCHDIR-i386	:= x86

-- 
To view, visit https://review.coreboot.org/29395
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib92436bc7270c24689dcf01a47f0c6fe7661814b
Gerrit-Change-Number: 29395
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181031/634e7ee9/attachment.html>


More information about the coreboot-gerrit mailing list