soc: espressif: Simple boot validity
Update CONFIG_ESP_SIMPLE_BOOT to exclude if CONFIG_MCUBOOT=y Fix usage of the config according to actual definition. Signed-off-by: Marek Matej <marek.matej@espressif.com>
This commit is contained in:
parent
404fdb20b4
commit
a0d7016e27
8 changed files with 27 additions and 26 deletions
|
@ -48,10 +48,10 @@ dt_reg_addr(img_0_off PATH ${dts_partition_path})
|
|||
dt_nodelabel(dts_partition_path NODELABEL "boot_partition")
|
||||
dt_reg_addr(boot_off PATH ${dts_partition_path})
|
||||
|
||||
if(CONFIG_ESP_SIMPLE_BOOT)
|
||||
board_finalize_runner_args(esp32 "--esp-app-address=${boot_off}")
|
||||
else()
|
||||
if(CONFIG_BOOTLOADER_MCUBOOT)
|
||||
board_finalize_runner_args(esp32 "--esp-app-address=${img_0_off}")
|
||||
else()
|
||||
board_finalize_runner_args(esp32 "--esp-app-address=${boot_off}")
|
||||
endif()
|
||||
|
||||
if(CONFIG_MCUBOOT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue