feat(bootloader): remove unused option

Users can enable/disable these option at "app_update".
This commit is contained in:
dongheng
2019-09-25 16:38:56 +08:00
parent 6f3983d39e
commit 2826d8aa2c
2 changed files with 0 additions and 20 deletions

View File

@ -39,18 +39,6 @@ config LOG_BOOTLOADER_LEVEL
default 4 if LOG_BOOTLOADER_LEVEL_DEBUG
default 5 if LOG_BOOTLOADER_LEVEL_VERBOSE
config BOOTLOADER_CHECK_APP_SUM
bool "Check APP binary data sum before loading"
default y
help
If enable this option, bootloader will check the sum of app binary data before load it to run.
config BOOTLOADER_CHECK_APP_HASH
bool "Check APP binary data hash before loading"
default n
help
If enable this option, bootloader will check the hash of app binary data before load it to run.
config BOOTLOADER_SPI_WP_PIN
int "SPI Flash WP Pin when customising pins via efuse (read help)"
range 0 33

View File

@ -5,11 +5,3 @@ $(SECURE_BOOT_SIGNING_KEY):
@echo "Keep key file safe after generating."
@echo "(See secure boot documentation for risks & alternatives.)"
@exit 1
ifdef CONFIG_BOOTLOADER_CHECK_APP_SUM
CFLAGS += -DCONFIG_ENABLE_BOOT_CHECK_SUM=1
endif
ifdef CONFIG_BOOTLOADER_CHECK_APP_HASH
CFLAGS += -DCONFIG_ENABLE_BOOT_CHECK_SHA256=1
endif