soc: nxp:rt: Add DATA_OCRAM config

Enable config for On-Chip RAM data.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
This commit is contained in:
Loic Poulain 2019-09-16 15:30:25 +02:00 committed by Maureen Helm
commit 9608a8e64e
2 changed files with 13 additions and 0 deletions

View file

@ -141,6 +141,16 @@ config SRAM_BASE_ADDRESS
endif # DATA_SEMC
if DATA_OCRAM
config SRAM_SIZE
default $(dt_node_reg_size,/memory@20200000,0,K)
config SRAM_BASE_ADDRESS
default $(dt_node_reg_addr,/memory@20200000)
endif # DATA_OCRAM
if USB
config USB_DC_NXP_EHCI

View file

@ -346,6 +346,9 @@ config DATA_SEMC
bool "Link data into external SEMC-controlled memory"
select DEVICE_CONFIGURATION_DATA if NXP_IMX_RT_BOOT_HEADER
config DATA_OCRAM
bool "Link data into On-Chip RAM memory"
endchoice
endif # SOC_SERIES_IMX_RT