Commit be8b3abc authored by Erwan Gouriou's avatar Erwan Gouriou Committed by Jamie
Browse files

boot: Zephyr: Add a Kconfig for MULTIPLE_EXECUTABLE_RAM_REGIONS define



Add a Kconfig symbol to allow selecting MCUBoot symbol
MULTIPLE_EXECUTABLE_RAM_REGIONS.

Signed-off-by: default avatarErwan Gouriou <erwan.gouriou@st.com>
parent c5011f2b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -547,6 +547,14 @@ config BOOT_IMAGE_EXECUTABLE_RAM_SIZE
	default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_SRAM),0)
endif

config MULTIPLE_EXECUTABLE_RAM_REGIONS
	bool "Platform RAM is split over multiple areas"
	depends on BOOT_RAM_LOAD
	help
	  To be selected if MCUBoot should be aware of several executable RAM areas.
	  When selected, boot_get_image_exec_ram_info() should be updated to provide
	  the information about the areas.

config FLASH_RUNTIME_SOURCES
	bool "Images are read from flash partitions defined at runtime"
	depends on SINGLE_APPLICATION_SLOT
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@
#define IMAGE_EXECUTABLE_RAM_SIZE CONFIG_BOOT_IMAGE_EXECUTABLE_RAM_SIZE
#endif

#ifdef CONFIG_SOC_SERIES_STM32N6X
#ifdef CONFIG_MULTIPLE_EXECUTABLE_RAM_REGIONS
#define MULTIPLE_EXECUTABLE_RAM_REGIONS
#endif