summaryrefslogtreecommitdiffstats
path: root/c/src/lib
diff options
context:
space:
mode:
authorJan Sommer <jan.sommer@dlr.de>2020-11-27 14:43:19 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-12-11 11:40:35 +0100
commitcadbd7d15086b76dc4e5dd199e47b68d40006e6d (patch)
tree0678dc9eb61141be1f2cae14132f07d1e02df99c /c/src/lib
parent1a7afb55a33f9f87ba508fc45f19761ad2427e16 (diff)
downloadrtems-cadbd7d15086b76dc4e5dd199e47b68d40006e6d.tar.bz2
bsp/xilinx_zynq: Enable support for 4kiB MMU pages
- Disabled by default - Enable using ARM_MMU_USE_SMALL_PAGES option Close 4192.
Diffstat (limited to 'c/src/lib')
-rw-r--r--c/src/lib/libbsp/arm/xilinx-zynq/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac b/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac
index 6599b34292..51e4a121e0 100644
--- a/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac
+++ b/c/src/lib/libbsp/arm/xilinx-zynq/configure.ac
@@ -70,11 +70,15 @@ RTEMS_BSPOPTS_SET([BSP_ZYNQ_RAM_LENGTH],[xilinx_zynq_zedboard],[512M])
RTEMS_BSPOPTS_SET([BSP_ZYNQ_RAM_LENGTH],[*],[256M])
RTEMS_BSPOPTS_HELP([BSP_ZYNQ_RAM_LENGTH],[override a BSP's default RAM length])
+RTEMS_BSPOPTS_SET([ARM_MMU_USE_SMALL_PAGES],[*],[0])
+RTEMS_BSPOPTS_HELP([ARM_MMU_USE_SMALL_PAGES],[use MMU with small pages (4KiB)])
+
RTEMS_BSPOPTS_SET([BSP_ZYNQ_NOCACHE_LENGTH],[*],[1M])
RTEMS_BSPOPTS_HELP([BSP_ZYNQ_NOCACHE_LENGTH],[length of nocache RAM region])
ZYNQ_RAM_ORIGIN="0x00100000"
ZYNQ_RAM_MMU_LENGTH="16k"
+AS_IF([test "x${ARM_MMU_USE_SMALL_PAGES}" == x1], [ZYNQ_RAM_MMU_LENGTH="(16k+4M)"])
ZYNQ_RAM_INT_0_ORIGIN="0x00000000"
ZYNQ_RAM_INT_0_LENGTH="64k + 64k + 64k"
ZYNQ_RAM_INT_1_ORIGIN="0xFFFF0000"