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:
@ -167,7 +167,7 @@ static void load_postcar_cbfs(struct prog *prog, struct postcar_frame *pcf)
|
|||||||
void run_postcar_phase(struct postcar_frame *pcf)
|
void run_postcar_phase(struct postcar_frame *pcf)
|
||||||
{
|
{
|
||||||
struct prog prog =
|
struct prog prog =
|
||||||
PROG_INIT(PROG_UNKNOWN, CONFIG_CBFS_PREFIX "/postcar");
|
PROG_INIT(PROG_POSTCAR, CONFIG_CBFS_PREFIX "/postcar");
|
||||||
|
|
||||||
postcar_commit_mtrrs(pcf);
|
postcar_commit_mtrrs(pcf);
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ enum prog_type {
|
|||||||
PROG_PAYLOAD,
|
PROG_PAYLOAD,
|
||||||
PROG_BL31,
|
PROG_BL31,
|
||||||
PROG_BL32,
|
PROG_BL32,
|
||||||
|
PROG_POSTCAR,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user