soc: arm: nxp_imx: replaced CODE_LOCATION and added FLEXSPI_XIP to soc

Cleaning up the instances of CODE_LOCATION used in the soc
clock_init and replaced them with the Kconfig
FLASH_MCUX_FLEXSPI_XIP due to the correlation with
the flexspi clocks and the XIP feature of Flexspi.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2022-12-21 09:27:33 -06:00 committed by Carles Cufí
commit 2c58952416
6 changed files with 14 additions and 18 deletions

View file

@ -36,8 +36,4 @@ config HEAP_MEM_POOL_SIZE
endif # DMA_MCUX_LPC
choice CODE_LOCATION
default CODE_FLEXSPI
endchoice
endif # BOARD_MIMXRT685_EVK