From 5bdb2fccdb9846e75e499593c6183346eca3e660 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 5 Mar 2022 09:39:46 +0000 Subject: x1000: bootloader: refactor usb handling Drop init_usb(), instead initialize USB early in the main function so the hardware is placed into a known good state after a USB boot. The impact on boot time should be minimal. Change-Id: I9774ddfc2c27811363bdb0c54cb0e57b5ca59d73 --- bootloader/x1000/recovery.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'bootloader/x1000/recovery.c') diff --git a/bootloader/x1000/recovery.c b/bootloader/x1000/recovery.c index 809bd6578a..4d806b26a4 100644 --- a/bootloader/x1000/recovery.c +++ b/bootloader/x1000/recovery.c @@ -26,8 +26,6 @@ #include "kernel.h" #include -extern void usb_mode(void); - enum { MENUITEM_HEADING, MENUITEM_ACTION, -- cgit v1.2.3