Merge tag 'xilinx-for-v2020.01' of https://gitlab.denx.de/u-boot/custodians/u-boot...
[oweals/u-boot.git] / arch / x86 / cpu / coreboot / coreboot.c
index aaf0d0719245f3f2fc9d772402528cbbfbd4d849..9686f8ed5b41c2b5f6efabb250cb34688c2b56e6 100644 (file)
@@ -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();