usb_cdc: Rename usb_request_bootloader() to bootloader_request()

Rename this board API function to a more generic name.  This is in
preparation for calling the function from the canbus code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2022-07-25 13:17:23 -04:00
parent 48b60a8021
commit 18ff84aa04
14 changed files with 45 additions and 32 deletions

View File

@@ -160,13 +160,6 @@ usb_set_configure(void)
USB_BUF_CTRL_AVAIL | USB_BUF_CTRL_LAST | DPBUF_SIZE);
}
void
usb_request_bootloader(void)
{
// Use the bootrom-provided code to reset into BOOTSEL mode
reset_to_usb_boot(0, 0);
}
/****************************************************************
* USB Errata workaround