soc: arm: cortex_m: Fix OCRAM config for i.MX RT

OCRAM is attached to the flexram controller like the DTCM.

Signed-off-by: Armand Ciejak <armand@riedonetworks.com>
This commit is contained in:
Armand Ciejak 2020-05-20 11:47:44 +02:00 committed by Carles Cufí
commit 9e923ee713

View file

@ -121,10 +121,10 @@ endif # DATA_SEMC
if DATA_OCRAM
config SRAM_SIZE
default $(dt_node_reg_size_int,/memory@20200000,0,K)
default $(dt_node_reg_size_int,/soc/flexram@400b0000/ocram@20200000,0,K)
config SRAM_BASE_ADDRESS
default $(dt_node_reg_addr_hex,/memory@20200000)
default $(dt_node_reg_addr_hex,/soc/flexram@400b0000/ocram@20200000)
endif # DATA_OCRAM