diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-10-29 12:28:24 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-11-14 11:24:47 -0500 |
commit | f6718291b78488c46de97888ff5764ed2895a9c6 (patch) | |
tree | 51b4122aaad225c0907af1e3d6bf5c9e0ab8d787 /src/rp2040/main.c | |
parent | 8a203cf2cbd805f627c138a48780183c783451cc (diff) | |
download | kutter-f6718291b78488c46de97888ff5764ed2895a9c6.tar.gz kutter-f6718291b78488c46de97888ff5764ed2895a9c6.tar.xz kutter-f6718291b78488c46de97888ff5764ed2895a9c6.zip |
rp2040: Add rp2350 bootrom based chipid and reboot to bootloader code
This adds the bootrom code needed to implement "reboot into
bootloader" and "chipid" capabilities.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040/main.c')
-rw-r--r-- | src/rp2040/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rp2040/main.c b/src/rp2040/main.c index 95fa5f15..144b8796 100644 --- a/src/rp2040/main.c +++ b/src/rp2040/main.c @@ -49,9 +49,7 @@ bootloader_request(void) { watchdog_hw->ctrl = 0; try_request_canboot(); - // Use the bootrom-provided code to reset into BOOTSEL mode - if (CONFIG_MACH_RP2040) - bootrom_reboot_usb_bootloader(); + bootrom_reboot_usb_bootloader(); } |