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:
Julius Werner
2022-05-26 20:29:42 -07:00
parent cc4dd88d2b
commit 0057262b38
8 changed files with 16 additions and 16 deletions

View File

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