summaryrefslogtreecommitdiff
path: root/Platform/ARM/SgiPkg/Include/SgiPlatform.h
diff options
context:
space:
mode:
authorVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>2019-11-26 21:27:08 +0530
committerVijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>2019-12-03 17:34:45 +0530
commitb62f8fe30486612f01dd637ffdd33f9ba89a8ce8 (patch)
tree85f2f4eb130b3ccb695ebcf835f2ae300f08ea04 /Platform/ARM/SgiPkg/Include/SgiPlatform.h
parent7fa91c510f2aa9e5c4bd6ba15957a99aadd23b54 (diff)
[HACK] RD-Daniel: Fix GICR base for GIC-ClaytonRD-INFRA-MC-2019.12.13refinfra-mc
RD-Daniel uses GIC-Clayton which has GIC-v4.1 support. GIC-v4.1 uses a different offset for GIC Redistributor base address: (4 + 4 × ITScount + 4 × RDnum) in contrast to: (4 + 2 × ITScount + 2 × RDnum). Change the base address of GIC Redistributor and increase the GICD MMU table size from 1MB to 2MB to accommodate the new GICR base address. Note: This patch will break other SGI and RD platforms. Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
Diffstat (limited to 'Platform/ARM/SgiPkg/Include/SgiPlatform.h')
-rw-r--r--Platform/ARM/SgiPkg/Include/SgiPlatform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Platform/ARM/SgiPkg/Include/SgiPlatform.h b/Platform/ARM/SgiPkg/Include/SgiPlatform.h
index 822e4bf3..ed87151c 100644
--- a/Platform/ARM/SgiPkg/Include/SgiPlatform.h
+++ b/Platform/ARM/SgiPkg/Include/SgiPlatform.h
@@ -51,8 +51,8 @@
// Sub System Peripherals - GIC
#define SGI_SUBSYS_GENERIC_GIC_BASE 0x30000000
-#define SGI_SUBSYS_GENERIC_GICR_BASE 0x300C0000
-#define SGI_SUBSYS_GENERIC_GIC_SZ SIZE_1MB
+#define SGI_SUBSYS_GENERIC_GICR_BASE 0x30140000
+#define SGI_SUBSYS_GENERIC_GIC_SZ SIZE_2MB
// Expansion AXI - Platform Peripherals - HDLCD1
#define SGI_EXP_PLAT_PERIPH_HDLCD1_BASE 0x7FF60000