summaryrefslogtreecommitdiff
path: root/arch/arm/mach-versal/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2019-09-11 09:39:59 +0200
committerMichal Simek <michal.simek@xilinx.com>2019-10-08 09:11:14 +0200
commit3899ebdd88f08929fd4568ce1c924176e6aa4365 (patch)
tree593c21a0da4997b1a3960090ad19f9914778a507 /arch/arm/mach-versal/Kconfig
parentaef149e9dd3d8a99840b0a7e5af06565cde3ad74 (diff)
arm64: zynqmp: Provide a Kconfig option to disable OCM and TCM MMU mapping
This patch provides an option to enable/disable OCM and TCM memory into MMU table with corresponding memory attributes. The same change was done for ZynqMP by commit 189bec47ab1f ("arm64: zynqmp: Provide a Kconfig option to define OCM and TCM in MMU") Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-versal/Kconfig')
-rw-r--r--arch/arm/mach-versal/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-versal/Kconfig b/arch/arm/mach-versal/Kconfig
index 26d1756371..06a0352924 100644
--- a/arch/arm/mach-versal/Kconfig
+++ b/arch/arm/mach-versal/Kconfig
@@ -54,4 +54,11 @@ config SYS_MEM_RSVD_FOR_MMU
MMU table than the one which will be allocated during
relocation.
+config DEFINE_TCM_OCM_MMAP
+ bool "Define TCM and OCM memory in MMU Table"
+ default y if MP
+ help
+ This option if enabled defines the TCM and OCM memory and its
+ memory attributes in MMU table entry.
+
endif