From: Yangbo Lu <yangbo...@nxp.com>

Mark BSS and Heap area of OCRAM as non-secure to perform
DMA from non-secure SD controller.

Signed-off-by: Yangbo Lu <yangbo...@nxp.com>
Signed-off-by: Yinbo Zhu <yinbo....@nxp.com>
---
 include/configs/ls1028a_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index 10f2e88bfd..46d22154d1 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -183,6 +183,8 @@
 #define CONFIG_SYS_FSL_QSPI_BASE       0x20000000
 #define CONFIG_ENV_ADDR        CONFIG_SYS_FSL_QSPI_BASE + CONFIG_ENV_OFFSET
 #define CONFIG_ENV_SIZE                        0x2000          /* 8KB */
+#define CONFIG_TZPC_OCRAM_BSS_HEAP_NS
+#define OCRAM_NONSECURE_SIZE           0x00010000
 #define CONFIG_ENV_SECT_SIZE           0x40000
 
 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE
-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to