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

Philipp Deppenwiese (Code Review) gerrit at coreboot.org
Thu Nov 8 10:44:05 CET 2018


Philipp Deppenwiese has uploaded this change for review. ( 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: zaolin <zaolin.daisuki at gmail.com>
---
M src/arch/x86/postcar_loader.c
M src/include/program_loading.h
2 files changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/45/29545/1

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..26d0295 100644
--- a/src/include/program_loading.h
+++ b/src/include/program_loading.h
@@ -32,6 +32,7 @@
 	PROG_VERSTAGE,
 	PROG_ROMSTAGE,
 	PROG_RAMSTAGE,
+	PROG_POSTCAR,
 	PROG_REFCODE,
 	PROG_PAYLOAD,
 	PROG_BL31,

-- 
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: newchange
Gerrit-Change-Id: Ifa6af9cf20aad27ca87a86817e6ad0a0d1de17c8
Gerrit-Change-Number: 29545
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181108/4f1693ef/attachment.html>


More information about the coreboot-gerrit mailing list