From 01797b1737a687807a5a6076ec3bcf45a6bdc621 Mon Sep 17 00:00:00 2001 From: Philipp Deppenwiese Date: Thu, 8 Nov 2018 10:39:39 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/29545 Tested-by: build bot (Jenkins) Reviewed-by: Werner Zeh --- src/arch/x86/postcar_loader.c | 2 +- src/include/program_loading.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/arch/x86/postcar_loader.c b/src/arch/x86/postcar_loader.c index 1877108ed0..2342fb9fb8 100644 --- a/src/arch/x86/postcar_loader.c +++ b/src/arch/x86/postcar_loader.c @@ -167,7 +167,7 @@ static void load_postcar_cbfs(struct prog *prog, struct postcar_frame *pcf) 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 e185b9271b..468f0b35a6 100644 --- a/src/include/program_loading.h +++ b/src/include/program_loading.h @@ -36,6 +36,7 @@ enum prog_type { PROG_PAYLOAD, PROG_BL31, PROG_BL32, + PROG_POSTCAR, }; /* -- cgit v1.2.3