bsps/aarch64: Add AARCH64_MMU_PHYSICAL_ADDRESS_RANGE_BITS

This avoids dead code in the MMU setup.
This commit is contained in:
Sebastian Huber
2024-10-04 03:48:19 +02:00
parent 269f4ca5db
commit bb2cd445e1
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- assert-in-set:
- 32
- 36
- 40
- 42
- 44
- 48
- 52
- 48
- format-and-define: null
build-type: option
copyrights:
- Copyright (C) 2024 embedded brains GmbH & Co. KG
default:
- enabled-by: bsps/aarch64/xilinx-zynqmp
value: 40
- enabled-by: true
value: null
description: |
If defined, then it specifies the physical address range bits of the EL1 MMU.
If not defined, then the value is obtained at runtime by reading the AArch64
Memory Model Feature Register 0 (ID_AA64MMFR0_EL1).
enabled-by: true
format: '{}'
links: []
name: AARCH64_MMU_PHYSICAL_ADDRESS_RANGE_BITS
type: build

View File

@@ -14,6 +14,8 @@ links:
uid: ../grp
- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../optmmupabits
- role: build-dependency
uid: ../optmmupages
- role: build-dependency