soc: nxp: Consolidate ROM RAMLOADER config

Consolidate the ROM RAMLOADER config to be in one place,
add a new Kconfig file to be included by the SOCs with the feature.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-08-12 15:06:57 -05:00 committed by Alberto Escolar
commit b00d881398
5 changed files with 25 additions and 49 deletions

View file

@ -29,6 +29,8 @@ menuconfig NXP_RW6XX_BOOT_HEADER
if NXP_RW6XX_BOOT_HEADER
rsource "../common/Kconfig.rom_loader"
config FLASH_CONFIG_OFFSET
hex "Flash config data offset"
default 0x400
@ -49,14 +51,4 @@ endif # NXP_RW6XX_BOOT_HEADER
rsource "../common/Kconfig.flexspi_xip"
config NXP_RW_ROM_RAMLOADER
depends on !FLASH_MCUX_FLEXSPI_XIP
# Required so that debugger will load image to correct offset
select BUILD_OUTPUT_HEX
bool "Create output image that RW ROM can load from FlexSPI to ram"
help
Builds an output image that the RW BootROM can load from the
FlexSPI boot device into RAM region. The image will be loaded
from FLEXSPI into the region specified by `zephyr,flash` node.
endif # SOC_SERIES_RW6XX