cbfs: Rename CBFS_TYPE_PAYLOAD to CBFS_TYPE_SELF
In preparation of having FIT payloads, which aren't converted to simple ELF, rename the CBFS type payload to actually show the format the payload is encoded in. Another type CBFS_TYPE_FIT will be added to have two different payload formats. For now this is only a cosmetic change. Change-Id: I39ee590d063b3e90f6153fe655aa50e58d45e8b0 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/25986 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
committed by
Patrick Georgi
parent
41aa5ec2d6
commit
4f5bed5210
@@ -171,7 +171,7 @@ struct cbfs_payload {
|
||||
#define CBFS_COMPONENT_BOOTBLOCK 0x01
|
||||
#define CBFS_COMPONENT_CBFSHEADER 0x02
|
||||
#define CBFS_COMPONENT_STAGE 0x10
|
||||
#define CBFS_COMPONENT_PAYLOAD 0x20
|
||||
#define CBFS_COMPONENT_SELF 0x20
|
||||
#define CBFS_COMPONENT_OPTIONROM 0x30
|
||||
#define CBFS_COMPONENT_BOOTSPLASH 0x40
|
||||
#define CBFS_COMPONENT_RAW 0x50
|
||||
@@ -204,7 +204,7 @@ static struct typedesc_t filetypes[] unused = {
|
||||
{CBFS_COMPONENT_BOOTBLOCK, "bootblock"},
|
||||
{CBFS_COMPONENT_CBFSHEADER, "cbfs header"},
|
||||
{CBFS_COMPONENT_STAGE, "stage"},
|
||||
{CBFS_COMPONENT_PAYLOAD, "payload"},
|
||||
{CBFS_COMPONENT_SELF, "simple elf"},
|
||||
{CBFS_COMPONENT_OPTIONROM, "optionrom"},
|
||||
{CBFS_COMPONENT_BOOTSPLASH, "bootsplash"},
|
||||
{CBFS_COMPONENT_RAW, "raw"},
|
||||
|
Reference in New Issue
Block a user