zephyr: make images loaded by MCUboot enable arch core HW regs init
Instruct Zephyr images that are loaded by MCUboot to force the initialization of architecture core HW registers, if the architecture supports the functionality. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
47e87d8459
commit
071ab4a6d5
1 changed files with 6 additions and 0 deletions
|
@ -384,6 +384,7 @@ config BOOTLOADER_SRAM_SIZE
|
||||||
config BOOTLOADER_MCUBOOT
|
config BOOTLOADER_MCUBOOT
|
||||||
bool "MCUboot bootloader support"
|
bool "MCUboot bootloader support"
|
||||||
select USE_DT_CODE_PARTITION
|
select USE_DT_CODE_PARTITION
|
||||||
|
imply INIT_ARCH_HW_AT_BOOT if ARCH_SUPPORTS_ARCH_HW_INIT
|
||||||
help
|
help
|
||||||
This option signifies that the target uses MCUboot as a bootloader,
|
This option signifies that the target uses MCUboot as a bootloader,
|
||||||
or in other words that the image is to be chain-loaded by MCUboot.
|
or in other words that the image is to be chain-loaded by MCUboot.
|
||||||
|
@ -397,6 +398,11 @@ config BOOTLOADER_MCUBOOT
|
||||||
(or Armv8-M baseline) targets with no built-in vector relocation
|
(or Armv8-M baseline) targets with no built-in vector relocation
|
||||||
mechanisms
|
mechanisms
|
||||||
|
|
||||||
|
By default, this option instructs Zephyr to initialize the core
|
||||||
|
architecture HW registers during boot, when this is supported by
|
||||||
|
the application. This removes the need by MCUboot to reset
|
||||||
|
the core registers' state itself.
|
||||||
|
|
||||||
if BOOTLOADER_MCUBOOT
|
if BOOTLOADER_MCUBOOT
|
||||||
|
|
||||||
config MCUBOOT_SIGNATURE_KEY_FILE
|
config MCUBOOT_SIGNATURE_KEY_FILE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue