X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Fx86%2Fcpu%2Fcoreboot%2Fcoreboot.c;h=9686f8ed5b41c2b5f6efabb250cb34688c2b56e6;hb=44fb0d6c9f5147a41c710032869e5e01b3c9e310;hp=aaf0d0719245f3f2fc9d772402528cbbfbd4d849;hpb=e6cd05e5025bbab9723bbb09c506cbb5aa63bc53;p=oweals%2Fu-boot.git diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c index aaf0d07192..9686f8ed5b 100644 --- a/arch/x86/cpu/coreboot/coreboot.c +++ b/arch/x86/cpu/coreboot/coreboot.c @@ -73,11 +73,9 @@ static void board_final_cleanup(void) int last_stage_init(void) { - if (gd->flags & GD_FLG_COLD_BOOT) - 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();