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>
This commit is contained in:
Philipp Deppenwiese 2018-11-08 10:39:39 +01:00
parent 771328f7df
commit 01797b1737
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -36,6 +36,7 @@ enum prog_type {
PROG_PAYLOAD,
PROG_BL31,
PROG_BL32,
PROG_POSTCAR,
};
/*