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>
This commit is contained in:
Simon Glass 2023-02-05 17:55:28 -07:00 committed by Tom Rini
parent 37407ac2f1
commit 91b614eef6
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

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