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@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,