soc: nxp: Centralize flexspi related configuration

Currently this code related to how to configure the
flash size and address when using flexspi to XIP is copy
pasted in all sort of places and ways all over the tree,
let's clean this up and have single point of control over
this configuration.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-08-12 14:15:19 -05:00 committed by Alberto Escolar
commit a097cdc4fe
19 changed files with 63 additions and 218 deletions

View file

@ -3,4 +3,4 @@
# SPDX-License-Identifier: Apache-2.0
#
CONFIG_FLASH_MCUX_FLEXSPI_XIP_MEM_SRAM=y
CONFIG_FLASH_MCUX_FLEXSPI_XIP_MEM="RAM"