summaryrefslogtreecommitdiff
path: root/src/arch/riscv
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2022-05-26 20:29:42 -0700
committerJulius Werner <jwerner@chromium.org>2022-06-01 19:45:08 +0000
commit0057262b38724ea9236335de7856dd287e440cf8 (patch)
treed58abd4cd922411fee4ef04bf4e126d169898851 /src/arch/riscv
parentcc4dd88d2b21551f842302751255c6704b28bc52 (diff)
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>
Diffstat (limited to 'src/arch/riscv')
-rw-r--r--src/arch/riscv/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/boot.c b/src/arch/riscv/boot.c
index 119039d2e7..a59f9d15ec 100644
--- a/src/arch/riscv/boot.c
+++ b/src/arch/riscv/boot.c
@@ -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) {