Correct SPL uses of CMD_EFICONFIG
This converts 2 usages of this option to the non-SPL form, since there is no SPL_CMD_EFICONFIG defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
8dd86205cc
commit
6cd3a797ee
1 changed files with 2 additions and 2 deletions
|
@ -223,7 +223,7 @@ static int prepare_bootmenu_entry(struct bootmenu_data *menu,
|
|||
return 1;
|
||||
}
|
||||
|
||||
#if (CONFIG_IS_ENABLED(CMD_BOOTEFI_BOOTMGR)) && (CONFIG_IS_ENABLED(CMD_EFICONFIG))
|
||||
#if (IS_ENABLED(CONFIG_CMD_BOOTEFI_BOOTMGR)) && (IS_ENABLED(CONFIG_CMD_EFICONFIG))
|
||||
/**
|
||||
* prepare_uefi_bootorder_entry() - generate the uefi bootmenu entries
|
||||
*
|
||||
|
@ -343,7 +343,7 @@ static struct bootmenu_data *bootmenu_create(int delay)
|
|||
if (ret < 0)
|
||||
goto cleanup;
|
||||
|
||||
#if (CONFIG_IS_ENABLED(CMD_BOOTEFI_BOOTMGR)) && (CONFIG_IS_ENABLED(CMD_EFICONFIG))
|
||||
#if (IS_ENABLED(CONFIG_CMD_BOOTEFI_BOOTMGR)) && (IS_ENABLED(CONFIG_CMD_EFICONFIG))
|
||||
if (i < MAX_COUNT - 1) {
|
||||
efi_status_t efi_ret;
|
||||
|
||||
|
|
Loading…
Reference in a new issue