Skip to content

Commit 1de3f00

Browse files
committed
Merge branch 'bugfix/SECURE_DISABLE_ROM_DL_MODE_does_not_work' into 'master'
bootloader: SECURE_ENABLE_SECURE_ROM_DL_MODE cannot be y when SECURE_DISABLE_ROM_DL_MODE=y See merge request espressif/esp-idf!12288
2 parents 1289918 + ee400f8 commit 1de3f00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/bootloader/Kconfig.projbuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ menu "Security features"
455455
config SECURE_BOOT_V2_ENABLED
456456
bool "Enable Secure Boot version 2"
457457
depends on SECURE_BOOT_SUPPORTS_RSA
458-
select SECURE_ENABLE_SECURE_ROM_DL_MODE if !IDF_TARGET_ESP32 && !SECURE_INSECURE_ALLOW_DL_MODE
458+
select SECURE_ENABLE_SECURE_ROM_DL_MODE if !IDF_TARGET_ESP32 && !SECURE_INSECURE_ALLOW_DL_MODE && !SECURE_DISABLE_ROM_DL_MODE # NOERROR
459459
select SECURE_DISABLE_ROM_DL_MODE if ESP32_REV_MIN_3 && !SECURE_INSECURE_ALLOW_DL_MODE
460460
help
461461
Build a bootloader which enables Secure Boot version 2 on first boot.
@@ -625,7 +625,7 @@ menu "Security features"
625625

626626
config SECURE_FLASH_ENCRYPTION_MODE_RELEASE
627627
bool "Release"
628-
select SECURE_ENABLE_SECURE_ROM_DL_MODE if SECURE_TARGET_HAS_SECURE_ROM_DL_MODE
628+
select SECURE_ENABLE_SECURE_ROM_DL_MODE if SECURE_TARGET_HAS_SECURE_ROM_DL_MODE && !SECURE_DISABLE_ROM_DL_MODE # NOERROR
629629

630630
endchoice
631631

0 commit comments

Comments
 (0)