Platforms/FVP: drop GICv2 support

Now that ARM Trusted Firmware has dropped support for the legacy VE memory
map (which means it can only support the FVP Foundation model in GICv3
mode), and runs the GICv3 in native mode by default on the secure side
(which prevents a GICv2 compatible GICv3 from being driven in v2 mode on
the non-secure side), there is little point in keeping the GICv2 legacy
ifdefs in the FVP dsc. So remove them.

Note that we will still be able to support FVP Base in GICv2 mode after
applying this patch, but running it will require a special build of ATF
with FVP_GICV2 defined.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
diff --git a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
index 1e871b5..3d67823 100644
--- a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
+++ b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc
@@ -82,10 +82,6 @@
   #  It could be set FALSE to save size.

   gEfiMdeModulePkgTokenSpaceGuid.PcdConOutGopSupport|TRUE

 

-!ifdef ARM_FVP_GICV3_WITH_V2_LEGACY

-  gArmTokenSpaceGuid.PcdArmGicV3WithV2Legacy|TRUE

-!endif

-

 [PcdsFixedAtBuild.common]

   gArmPlatformTokenSpaceGuid.PcdFirmwareVendor|"ARM Fixed Virtual Platform"

   gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"ARM-FVP"

@@ -154,14 +150,9 @@
   #

   # ARM General Interrupt Controller

   #

-!ifdef ARM_FVP_LEGACY_GICV2_LOCATION

-  gArmTokenSpaceGuid.PcdGicDistributorBase|0x2C001000

-  gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C002000

-!else

   gArmTokenSpaceGuid.PcdGicDistributorBase|0x2f000000

   gArmTokenSpaceGuid.PcdGicRedistributorsBase|0x2f100000

   gArmTokenSpaceGuid.PcdGicInterruptInterfaceBase|0x2C000000

-!endif

 

   #

   # ARM OS Loader