rp2040: Support CanBoot as bootloader
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -47,17 +47,32 @@ config STACK_SIZE
|
||||
int
|
||||
default 512
|
||||
|
||||
config FLASH_START
|
||||
hex
|
||||
default 0x10000100
|
||||
|
||||
|
||||
######################################################################
|
||||
# Bootloader options
|
||||
######################################################################
|
||||
|
||||
config RP2040_HAVE_STAGE2
|
||||
bool
|
||||
config RP2040_HAVE_BOOTLOADER
|
||||
bool
|
||||
default y if !RP2040_HAVE_STAGE2
|
||||
|
||||
choice
|
||||
prompt "Flash chip" if LOW_LEVEL_OPTIONS
|
||||
prompt "Bootloader offset"
|
||||
config RP2040_FLASH_START_0100
|
||||
bool "No bootloader"
|
||||
select RP2040_HAVE_STAGE2
|
||||
config RP2040_FLASH_START_4000
|
||||
bool "16KiB bootloader"
|
||||
endchoice
|
||||
config FLASH_START
|
||||
hex
|
||||
default 0x10004000 if RP2040_FLASH_START_4000
|
||||
default 0x10000100
|
||||
|
||||
choice
|
||||
prompt "Flash chip" if LOW_LEVEL_OPTIONS && RP2040_HAVE_STAGE2
|
||||
config RP2040_FLASH_W25Q080
|
||||
bool "W25Q080 with CLKDIV 2"
|
||||
config RP2040_FLASH_GENERIC_03
|
||||
|
||||
Reference in New Issue
Block a user