feat: add protect memory driver configuration
Add configuration selecting the memory protect driver.
Change-Id: I7ccaa398d4736f3f852541324acbf296a9273be9
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/BUILD.gn b/BUILD.gn
index 301eb46..8fdabfb 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -94,6 +94,7 @@
boot_flow = "//src/boot_flow:spmc"
console = "//src/arch/aarch64/pl011"
iommu = "//src/iommu:absent"
+ memory_protect = "//src/arch/aarch64/memory_protect:memory_protect"
gic_version = 4
gicd_base_address = "0x30000000"
gicr_base_address = "0x301C0000"
@@ -119,6 +120,7 @@
boot_flow = "//src/boot_flow:spmc"
console = "//src/arch/aarch64/pl011"
iommu = "//src/iommu:absent"
+ memory_protect = "//src/arch/aarch64/memory_protect:memory_protect"
gic_version = 4
gicd_base_address = "0x30000000"
gicr_base_address = "0x30100000"
@@ -144,6 +146,7 @@
boot_flow = "//src/boot_flow:spmc"
console = "//src/arch/aarch64/pl011"
iommu = "//src/arch/aarch64/arm_smmuv3"
+ memory_protect = "//src/arch/aarch64/memory_protect:memory_protect"
gic_version = 3
gic_enable_espi = 1
gicd_base_address = "0x2f000000"
@@ -171,6 +174,7 @@
cpu = "cortex-a57"
origin_address = "0x80000000"
boot_flow = "//src/boot_flow:linux"
+ memory_protect = "//src/memory_protect:absent"
console = "//src/arch/aarch64/pl011"
iommu = "//src/arch/aarch64/arm_smmuv3"
gic_version = 3
@@ -196,6 +200,7 @@
boot_flow = "//src/boot_flow:linux"
console = "//src/arch/aarch64/pl011"
iommu = "//src/iommu:absent"
+ memory_protect = "//src/memory_protect:absent"
gic_version = 3
gicd_base_address = "0x08000000"
gicr_base_address = "0x080A0000"
@@ -213,6 +218,7 @@
aarch64_toolchains("secure_qemu_aarch64") {
cpu = "cortex-a57"
origin_address = "0xe100000"
+ memory_protect = "//src/memory_protect:absent"
boot_flow = "//src/boot_flow:spmc"
console = "//src/arch/aarch64/pl011"
iommu = "//src/iommu:absent"
@@ -242,6 +248,7 @@
origin_address = "0x80000"
boot_flow = "//src/boot_flow:linux"
console = "//project/reference/rpi4:mini_uart"
+ memory_protect = "//src/memory_protect:absent"
iommu = "//src/iommu:absent"
gic_version = 2
heap_pages = 180
@@ -267,6 +274,7 @@
boot_flow = "//src/boot_flow:spmc"
console = "//src/arch/aarch64/pl011"
iommu = "//src/iommu:absent"
+ memory_protect = "//src/memory_protect:absent"
gic_version = 4
gicd_base_address = "0x30000000"
gicr_base_address = "0x30080000"