cbfs: Rename TYPE_FIT to TYPE_FIT_PAYLOAD
There are too many "FIT" in firmware land. In order to reduce possible confusion of CBFS_TYPE_FIT with the Intel Firmware Interface Table, this patch renames it to CBFS_TYPE_FIT_PAYLOAD (including the cbfstool argument, so calling scripts will now need to replace `-t fit` with `-t fit_payload`). Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I826cefce54ade06c6612c8a7bb53e02092e7b11a Reviewed-on: https://review.coreboot.org/c/coreboot/+/64735 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
@@ -13,7 +13,7 @@ void arch_prog_run(struct prog *prog)
|
||||
cache_sync_instructions();
|
||||
|
||||
switch (prog_cbfs_type(prog)) {
|
||||
case CBFS_TYPE_FIT:
|
||||
case CBFS_TYPE_FIT_PAYLOAD:
|
||||
/*
|
||||
* We only load Linux payloads from the ramstage, so provide a hint to
|
||||
* the linker that the below functions do not need to be included in
|
||||
|
@@ -27,7 +27,7 @@ static void do_arch_prog_run(struct arch_prog_run_args *args)
|
||||
struct prog *prog = args->prog;
|
||||
void *fdt = HLS()->fdt;
|
||||
|
||||
if (prog_cbfs_type(prog) == CBFS_TYPE_FIT)
|
||||
if (prog_cbfs_type(prog) == CBFS_TYPE_FIT_PAYLOAD)
|
||||
fdt = prog_entry_arg(prog);
|
||||
|
||||
if (ENV_RAMSTAGE && prog_type(prog) == PROG_PAYLOAD) {
|
||||
|
Reference in New Issue
Block a user