summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/efi/payload.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/efi/payload.c')
-rw-r--r--arch/x86/cpu/efi/payload.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/cpu/efi/payload.c b/arch/x86/cpu/efi/payload.c
index 9fd9f57776..e3f0f825f3 100644
--- a/arch/x86/cpu/efi/payload.c
+++ b/arch/x86/cpu/efi/payload.c
@@ -7,6 +7,7 @@
#include <common.h>
#include <efi.h>
#include <errno.h>
+#include <usb.h>
#include <asm/post.h>
DECLARE_GLOBAL_DATA_PTR;
@@ -160,3 +161,11 @@ int reserve_arch(void)
return 0;
}
+
+int last_stage_init(void)
+{
+ /* start usb so that usb keyboard can be used as input device */
+ usb_init();
+
+ return 0;
+}