summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/x86/postcar_loader.c2
-rw-r--r--src/include/program_loading.h1
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,
};
/*