mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-03-27 05:39:57 +00:00
bsps/zynqmp: Add option to map PCIe address space
Added ability to map PCIe address space on ZynqMP.
This commit is contained in:
committed by
Gedare Bloom
parent
632b1a755b
commit
d62d6b659c
@@ -44,6 +44,13 @@ BSP_START_DATA_SECTION const aarch64_mmu_config_entry
|
||||
aarch64_mmu_config_table[] = {
|
||||
AARCH64_MMU_DEFAULT_SECTIONS,
|
||||
{
|
||||
#ifdef ZYNQMP_MMU_PCIE_ENABLE
|
||||
/* PCIe low */
|
||||
.begin = 0xe0000000,
|
||||
.end = 0xf0000000,
|
||||
.flags = AARCH64_MMU_DEVICE
|
||||
}, {
|
||||
#endif /* ZYNQMP_MMU_PCIE_ENABLE */
|
||||
.begin = 0xf9000000U,
|
||||
.end = 0xf9100000U,
|
||||
.flags = AARCH64_MMU_DEVICE
|
||||
@@ -69,6 +76,16 @@ aarch64_mmu_config_table[] = {
|
||||
.begin = 0xb0000000U,
|
||||
.end = 0xb0200000U,
|
||||
.flags = AARCH64_MMU_DATA_RW
|
||||
#ifdef ZYNQMP_MMU_PCIE_ENABLE
|
||||
}, { /* PCIe high */
|
||||
.begin = 0x600000000U,
|
||||
.end = 0x800000000U,
|
||||
.flags = AARCH64_MMU_DEVICE
|
||||
}, { /* PCIe high */
|
||||
.begin = 0x8000000000U,
|
||||
.end = 0xc000000000U,
|
||||
.flags = AARCH64_MMU_DEVICE
|
||||
#endif /* ZYNQMP_MMU_PCIE_ENABLE */
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ links:
|
||||
uid: optclki2c1
|
||||
- role: build-dependency
|
||||
uid: optclkuart
|
||||
- role: build-dependency
|
||||
uid: optpciemmu
|
||||
- role: build-dependency
|
||||
uid: ../objclockarmgenerictimer
|
||||
- role: build-dependency
|
||||
|
||||
17
spec/build/bsps/aarch64/xilinx-zynqmp/optpciemmu.yml
Normal file
17
spec/build/bsps/aarch64/xilinx-zynqmp/optpciemmu.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
actions:
|
||||
- get-integer: null
|
||||
- define: null
|
||||
build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2026 Aaron Nyholm
|
||||
default:
|
||||
- enabled-by: true
|
||||
value: false
|
||||
description: |
|
||||
Enable ZynqMP PCIe address space mapping
|
||||
enabled-by: true
|
||||
format: '{}'
|
||||
links: []
|
||||
name: ZYNQMP_MMU_PCIE_ENABLE
|
||||
type: build
|
||||
Reference in New Issue
Block a user