mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
fs: cbfs: Make all CBFS_TYPE_xxx macros consistent
At present there are 2 macros that are named as CBFS_COMPONENT_xxx. Change them to CBFS_TYPE_xxx for consistency. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d94bf13c85
commit
14fdf91ebf
2 changed files with 4 additions and 4 deletions
|
@ -136,10 +136,10 @@ static int do_cbfs_ls(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||
case CBFS_TYPE_MICROCODE:
|
||||
type_name = "microcode";
|
||||
break;
|
||||
case CBFS_COMPONENT_CMOS_DEFAULT:
|
||||
case CBFS_TYPE_CMOS_DEFAULT:
|
||||
type_name = "cmos default";
|
||||
break;
|
||||
case CBFS_COMPONENT_CMOS_LAYOUT:
|
||||
case CBFS_TYPE_CMOS_LAYOUT:
|
||||
type_name = "cmos layout";
|
||||
break;
|
||||
case -1:
|
||||
|
|
|
@ -26,8 +26,8 @@ enum cbfs_filetype {
|
|||
CBFS_TYPE_VSA = 0x51,
|
||||
CBFS_TYPE_MBI = 0x52,
|
||||
CBFS_TYPE_MICROCODE = 0x53,
|
||||
CBFS_COMPONENT_CMOS_DEFAULT = 0xaa,
|
||||
CBFS_COMPONENT_CMOS_LAYOUT = 0x01aa
|
||||
CBFS_TYPE_CMOS_DEFAULT = 0xaa,
|
||||
CBFS_TYPE_CMOS_LAYOUT = 0x01aa
|
||||
};
|
||||
|
||||
struct cbfs_header {
|
||||
|
|
Loading…
Reference in a new issue