feat(gicr): introduce 'gicr_frames' for platforms
This patch introduces a new build variable to broadcast the
number of GICR frames supported by the platform. The GIC
initialization sequence relies on the LAST_FRAME bit from
the GICR and is not related to the number of CPUs on the
platform. Normally number of CPUs and GICR frames are equal,
but platforms with more GICR frames than number of CPUs are
not uncommon.
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I3a2bdf9ab2d3300604355a59345105479630e66b
diff --git a/BUILD.gn b/BUILD.gn
index 9fdd717..5d84d13 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -69,6 +69,7 @@
gic_version = 3
gicd_base_address = "0x2f000000"
gicr_base_address = "0x2f100000"
+ gicr_frames = 8
heap_pages = 60
max_cpus = 8
max_vms = 16
@@ -94,6 +95,7 @@
gic_version = 3
gicd_base_address = "0x2f000000"
gicr_base_address = "0x2f100000"
+ gicr_frames = 8
heap_pages = 60
max_cpus = 8
max_vms = 16
@@ -120,6 +122,7 @@
gic_version = 3
gicd_base_address = "0x2f000000"
gicr_base_address = "0x2f100000"
+ gicr_frames = 8
heap_pages = 60
max_cpus = 8
max_vms = 16
@@ -140,6 +143,7 @@
gic_version = 3
gicd_base_address = "0x2f000000"
gicr_base_address = "0x2f100000"
+ gicr_frames = 8
heap_pages = 60
max_cpus = 8
max_vms = 16
@@ -162,6 +166,7 @@
gic_version = 3
gicd_base_address = "0x08000000"
gicr_base_address = "0x080A0000"
+ gicr_frames = 8
heap_pages = 60
max_cpus = 8
max_vms = 16
@@ -180,6 +185,7 @@
gic_version = 3
gicd_base_address = "0x08000000"
gicr_base_address = "0x080A0000"
+ gicr_frames = 8
heap_pages = 60
max_cpus = 8
max_vms = 16
@@ -226,6 +232,7 @@
gic_version = 4
gicd_base_address = "0x30000000"
gicr_base_address = "0x30080000"
+ gicr_frames = 8
heap_pages = 60
max_cpus = 8
max_vms = 16