x86: coreboot: Add generic coreboot payload support
[platform/kernel/u-boot.git] / arch / x86 / cpu / coreboot / coreboot.c
index 69025c1..a6fd3a8 100644 (file)
@@ -7,6 +7,7 @@
 
 #include <common.h>
 #include <fdtdec.h>
+#include <usb.h>
 #include <asm/io.h>
 #include <asm/msr.h>
 #include <asm/mtrr.h>
@@ -75,12 +76,10 @@ int last_stage_init(void)
        if (gd->flags & GD_FLG_COLD_BOOT)
                timestamp_add_to_bootstage();
 
-       board_final_cleanup();
+       /* start usb so that usb keyboard can be used as input device */
+       usb_init();
 
-       return 0;
-}
+       board_final_cleanup();
 
-int misc_init_r(void)
-{
        return 0;
 }