From b62f8fe30486612f01dd637ffdd33f9ba89a8ce8 Mon Sep 17 00:00:00 2001 From: Vijayenthiran Subramaniam Date: Tue, 26 Nov 2019 21:27:08 +0530 Subject: [HACK] RD-Daniel: Fix GICR base for GIC-Clayton MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Platform/ARM/SgiPkg/SgiPlatform.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Platform/ARM/SgiPkg/SgiPlatform.dsc') diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc b/Platform/ARM/SgiPkg/SgiPlatform.dsc index 38d227af..6d8be58a 100644 --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc @@ -141,7 +141,7 @@ # GIC Base Addresses gArmTokenSpaceGuid.PcdGicDistributorBase|0x30000000 - gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x300C0000 + gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x30140000 # # PCIe -- cgit v1.2.3