From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Date: Fri, 1 May 2020 05:44:22 +0000 (-0600)
Subject: arm64: versal: Enable config to map TCM and OCM
X-Git-Tag: v2025.01-rc5-pxa1908~2332^2~8^2~14
X-Git-Url: http://git.dujemihanovic.xyz/browse.php?a=commitdiff_plain;h=a0f309ee9e4fc36b8395c9808985ed70d6045b11;p=u-boot.git

arm64: versal: Enable config to map TCM and OCM

Enable CONFIG_DEFINE_TCM_OCM_MMAP to map TCM and OCM memory.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index a307702e7b..4510a093fb 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -3,6 +3,7 @@ CONFIG_ARCH_VERSAL=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x100000
 CONFIG_DM_GPIO=y
+CONFIG_DEFINE_TCM_OCM_MMAP=y
 CONFIG_COUNTER_FREQUENCY=62500000
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y