[coreboot-gerrit] Change in coreboot[master]: include/program_loading: Add POSTCAR prog type

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Fri Nov 9 13:00:43 CET 2018


Philipp Deppenwiese has submitted this change and it was merged. ( https://review.coreboot.org/29545 )

Change subject: include/program_loading: Add POSTCAR prog type
......................................................................

include/program_loading: Add POSTCAR prog type

Now postcar is a standalone stage give it a
proper type.

Change-Id: Ifa6af9cf20aad27ca87a86817e6ad0a0d1de17c8
Signed-off-by: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Reviewed-on: https://review.coreboot.org/29545
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh at siemens.com>
---
M src/arch/x86/postcar_loader.c
M src/include/program_loading.h
2 files changed, 2 insertions(+), 1 deletion(-)

Approvals:
  build bot (Jenkins): Verified
  Werner Zeh: Looks good to me, approved



diff --git a/src/arch/x86/postcar_loader.c b/src/arch/x86/postcar_loader.c
index 1877108..2342fb9 100644
--- a/src/arch/x86/postcar_loader.c
+++ b/src/arch/x86/postcar_loader.c
@@ -167,7 +167,7 @@
 void run_postcar_phase(struct postcar_frame *pcf)
 {
 	struct prog prog =
-		PROG_INIT(PROG_UNKNOWN, CONFIG_CBFS_PREFIX "/postcar");
+		PROG_INIT(PROG_POSTCAR, CONFIG_CBFS_PREFIX "/postcar");
 
 	postcar_commit_mtrrs(pcf);
 
diff --git a/src/include/program_loading.h b/src/include/program_loading.h
index e185b92..468f0b3 100644
--- a/src/include/program_loading.h
+++ b/src/include/program_loading.h
@@ -36,6 +36,7 @@
 	PROG_PAYLOAD,
 	PROG_BL31,
 	PROG_BL32,
+	PROG_POSTCAR,
 };
 
 /*

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifa6af9cf20aad27ca87a86817e6ad0a0d1de17c8
Gerrit-Change-Number: 29545
Gerrit-PatchSet: 4
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph at 9elements.com>
Gerrit-Reviewer: Patrick Rudolph <siro at das-labor.org>
Gerrit-Reviewer: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh at siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181109/08134610/attachment.html>


More information about the coreboot-gerrit mailing list