feat(bootloader): add option to disable JTAG I/O when boot

This commit is contained in:
Dong Heng
2020-03-11 16:07:09 +08:00
parent 77552dda7f
commit d36034e554
3 changed files with 31 additions and 0 deletions

View File

@@ -10,6 +10,15 @@ config BOOTLOADER_INIT_SPI_FLASH
If your system bootloader is based on v3.0, the option must not be enable, because the v3.0 bootloader don't support
this function.
config BOOTLOADER_DISABLE_JTAG_IO
bool "Bootloader disable JTAG I/O"
default n
help
Enable this option, when SoC brings up and bootloader initializes hardware, it will
disable JTAG's I/O and set these GPIOs to be normal I/O with inputting mode.
If users use JTAG to help develop, please disable this option.
choice LOG_BOOTLOADER_LEVEL
bool "Bootloader log verbosity"
default LOG_BOOTLOADER_LEVEL_INFO