rp2040: Add a Kconfig option for selecting "generic_03H" flash type
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -52,12 +52,22 @@ config FLASH_START
|
||||
# Bootloader options
|
||||
######################################################################
|
||||
|
||||
choice
|
||||
prompt "Flash chip" if LOW_LEVEL_OPTIONS
|
||||
config RP2040_FLASH_W25Q080
|
||||
bool "W25Q080 with CLKDIV 2"
|
||||
config RP2040_FLASH_GENERIC_03
|
||||
bool "GENERIC_03H with CLKDIV 4"
|
||||
endchoice
|
||||
|
||||
config RP2040_STAGE2_FILE
|
||||
string
|
||||
default "boot2_generic_03h.S" if RP2040_FLASH_GENERIC_03
|
||||
default "boot2_w25q080.S"
|
||||
|
||||
config RP2040_STAGE2_CLKDIV
|
||||
int
|
||||
default 4 if RP2040_FLASH_GENERIC_03
|
||||
default 2
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user