[edk2,edk2-platforms,v2,08/13] Platform/Hisilicon: remove SP804 PCD definitions

Message ID 20171116175839.30012-9-ard.biesheuvel@linaro.org
State New
Headers show
Series
  • Move ArmPlatformPkg stuff into edk2-platforms
Related show

Commit Message

Ard Biesheuvel Nov. 16, 2017, 5:58 p.m.
These platforms don't actually include the SP804 driver so no need
to set the PCDs.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 Platform/Hisilicon/D02/Pv660D02.dsc | 8 --------
 Platform/Hisilicon/D03/D03.dsc      | 8 --------
 2 files changed, 16 deletions(-)

-- 
2.11.0

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/Platform/Hisilicon/D02/Pv660D02.dsc b/Platform/Hisilicon/D02/Pv660D02.dsc
index ba3047882611..cd0fbdb56fdf 100644
--- a/Platform/Hisilicon/D02/Pv660D02.dsc
+++ b/Platform/Hisilicon/D02/Pv660D02.dsc
@@ -201,14 +201,6 @@  [PcdsFixedAtBuild.common]
   gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE
   gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5, 0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }
 
-  ## SP804 DualTimer
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerFrequencyInMHz|200
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|304
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x80060000
-  ## TODO: need to confirm the base for Performance and Metronome base for PV660
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x80060000
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x80060000
-
   gHisiTokenSpaceGuid.PcdPcieRootBridgeMask|0x6 # bit0:HB0RB0,bit1:HB0RB1,bit2:HB0RB2,bit3:HB0RB3,bit4:HB1RB0,bit5:HB1RB1,bit6:HB1RB2,bit7:HB1RB3
   gHisiTokenSpaceGuid.PcdHb1BaseAddress|0x400000000000 # 4T
 
diff --git a/Platform/Hisilicon/D03/D03.dsc b/Platform/Hisilicon/D03/D03.dsc
index 491862a3b27e..a5aa5f7fcd0a 100644
--- a/Platform/Hisilicon/D03/D03.dsc
+++ b/Platform/Hisilicon/D03/D03.dsc
@@ -286,14 +286,6 @@  [PcdsFixedAtBuild.common]
   gHisiTokenSpaceGuid.PcdHb0Rb2IoSize|0xffff #64K
 
   gHisiTokenSpaceGuid.Pcdsoctype|0x1610
-  ## SP804 DualTimer
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerFrequencyInMHz|200
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicInterruptNum|0xb0
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerPeriodicBase|0x40060000
-  ## TODO: need to confirm the base for Performance and Metronome base for PV660
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerPerformanceBase|0x40060000
-  gArmPlatformTokenSpaceGuid.PcdSP804TimerMetronomeBase|0x40060000
-
 
 ################################################################################
 #