aboutsummaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-05 17:55:28 -0700
committerTom Rini <trini@konsulko.com>2023-02-10 07:41:40 -0500
commit91b614eef642959ab77c37dc1b7add2e6d02772c (patch)
tree5b46987b69028103cf53f28e2efee82be00a7c97 /arch/x86
parent37407ac2f1e0156da0e890b47d7f7cae3f8b5439 (diff)
downloadu-boot-91b614eef642959ab77c37dc1b7add2e6d02772c.zip
u-boot-91b614eef642959ab77c37dc1b7add2e6d02772c.tar.gz
u-boot-91b614eef642959ab77c37dc1b7add2e6d02772c.tar.bz2
Correct SPL uses of USB_KEYBOARD
This converts 2 usages of this option to the non-SPL form, since there is no SPL_USB_KEYBOARD defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/coreboot/coreboot.c2
-rw-r--r--arch/x86/cpu/efi/payload.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
index aaa5ae1..d7eedbd 100644
--- a/arch/x86/cpu/coreboot/coreboot.c
+++ b/arch/x86/cpu/coreboot/coreboot.c
@@ -77,7 +77,7 @@ static void board_final_init(void)
int last_stage_init(void)
{
/* start usb so that usb keyboard can be used as input device */
- if (CONFIG_IS_ENABLED(USB_KEYBOARD))
+ if (IS_ENABLED(CONFIG_USB_KEYBOARD))
usb_init();
board_final_init();
diff --git a/arch/x86/cpu/efi/payload.c b/arch/x86/cpu/efi/payload.c
index 1c28a43..19a25dd 100644
--- a/arch/x86/cpu/efi/payload.c
+++ b/arch/x86/cpu/efi/payload.c
@@ -171,7 +171,7 @@ int reserve_arch(void)
int last_stage_init(void)
{
/* start usb so that usb keyboard can be used as input device */
- if (CONFIG_IS_ENABLED(USB_KEYBOARD))
+ if (IS_ENABLED(CONFIG_USB_KEYBOARD))
usb_init();
return 0;