feat(bootloader): add xmc spi_flash startup flow to improve reliability

This commit is contained in:
Dong Heng
2022-08-10 16:04:45 +08:00
parent 7270911082
commit b5301bf124
5 changed files with 192 additions and 11 deletions

View File

@@ -174,6 +174,15 @@ config BOOTLOADER_STORE_OFFSET
bootloader of the SDK's bootloader, you can set the option to store SDK's bootloader
to other space in the flash instead of "0x0".
config BOOTLOADER_FLASH_XMC_SUPPORT
bool "Enable the support for flash chips of XMC (READ HELP FIRST)"
default y
help
Perform the startup flow recommended by XMC. Please consult XMC for the details of this flow.
XMC chips will be forbidden to be used, when this option is disabled.
DON'T DISABLE THIS UNLESS YOU KNOW WHAT YOU ARE DOING.
endmenu # Bootloader

View File

@@ -8,4 +8,5 @@ PROVIDE ( gpio_input_get = 0x40004cf0 );
PROVIDE ( xthal_get_ccount = 0x4000dd38 );
PROVIDE ( uart_div_modify = 0x400039d8 );
PROVIDE ( ets_io_vprintf = 0x40001f00 );
PROVIDE ( ets_io_vprintf = 0x40001f00 );
PROVIDE ( ets_rom_delay_us = 0x40002ecc );