diff options
author | Jan Sommer <jan.sommer@dlr.de> | 2020-11-27 14:43:19 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-12-11 11:40:35 +0100 |
commit | cadbd7d15086b76dc4e5dd199e47b68d40006e6d (patch) | |
tree | 0678dc9eb61141be1f2cae14132f07d1e02df99c /spec/build/bsps/arm | |
parent | bsps/arm: Fix MMU small pages support (diff) | |
download | rtems-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 'spec/build/bsps/arm')
-rw-r--r-- | spec/build/bsps/arm/optmmusmallpages.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/xilinx-zynq/grp.yml | 2 |
2 files changed, 15 insertions, 3 deletions
diff --git a/spec/build/bsps/arm/optmmusmallpages.yml b/spec/build/bsps/arm/optmmusmallpages.yml index 5ef991e7d5..5d42039c78 100644 --- a/spec/build/bsps/arm/optmmusmallpages.yml +++ b/spec/build/bsps/arm/optmmusmallpages.yml @@ -2,11 +2,23 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: - get-boolean: null - define-condition: null +- script: | + if conf.is_defined("ARM_MMU_TRANSLATION_TABLE_SIZE"): + conf.fatal("ARM_MMU_TRANSLATION_TABLE_SIZE already defined by conflicting option.") + + tbl_sz = 16 * 1024 + if value: + tbl_sz += 4 * 1024 * 1024 + + conf.env["ARM_MMU_TRANSLATION_TABLE_SIZE"] = tbl_sz build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) -default: true -default-by-variant: [] +default: false +default-by-variant: +- value: true + variants: + - arm/realview_pbx_a9_qemu description: | Use MMU with small pages (4KiB) enabled-by: true diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml b/spec/build/bsps/arm/xilinx-zynq/grp.yml index a0580619f0..74adbd7fa7 100644 --- a/spec/build/bsps/arm/xilinx-zynq/grp.yml +++ b/spec/build/bsps/arm/xilinx-zynq/grp.yml @@ -42,7 +42,7 @@ links: - role: build-dependency uid: optint1ori - role: build-dependency - uid: ../optmmusz + uid: ../optmmusmallpages - role: build-dependency uid: optnocachelen - role: build-dependency |