diff options
author | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-11-08 10:39:39 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-11-09 12:00:40 +0000 |
commit | 01797b1737a687807a5a6076ec3bcf45a6bdc621 (patch) | |
tree | ca2b3712577a144f7318a78ffc02705e04fdba86 | |
parent | 771328f7dff554fe06a2dc931097b0e129e2113f (diff) |
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@gmail.com>
Reviewed-on: https://review.coreboot.org/29545
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
-rw-r--r-- | src/arch/x86/postcar_loader.c | 2 | ||||
-rw-r--r-- | src/include/program_loading.h | 1 |
2 files changed, 2 insertions, 1 deletions
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, }; /* |