aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/cpu/coreboot/coreboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/coreboot/coreboot.c')
-rw-r--r--arch/x86/cpu/coreboot/coreboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
index aaf0d07192..4c6ed0bfb2 100644
--- a/arch/x86/cpu/coreboot/coreboot.c
+++ b/arch/x86/cpu/coreboot/coreboot.c
@@ -77,7 +77,8 @@ int last_stage_init(void)
timestamp_add_to_bootstage();
/* start usb so that usb keyboard can be used as input device */
- usb_init();
+ if (CONFIG_IS_ENABLED(USB_KEYBOARD))
+ usb_init();
board_final_cleanup();