]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: Add PCD for SBSA Watchdog Count
authorSami Mujawar <sami.mujawar@arm.com>
Mon, 22 May 2017 14:27:50 +0000 (15:27 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Fri, 6 Oct 2017 14:15:22 +0000 (15:15 +0100)
The Juno and FVP platform implement the SBSA Watchdog timers.
Added PcdWatchdogCount to specify the number of Watchdog timers
that are available.

This allows configurability and an option to disable the watchdog
timers if required for testing.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Evan Lloyd <evan.lloyd@arm.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
ArmPlatformPkg/ArmJunoPkg/Include/ArmPlatform.h
ArmPlatformPkg/ArmPlatformPkg.dec

index 7eaa239b1cbd4a2f54aa2d71e4e3b0279c5527d1..f7bfe0a1f937f17dfb68d0761cea3cbc5eacc14e 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 *\r
-*  Copyright (c) 2013-2014, ARM Limited. All rights reserved.\r
+*  Copyright (c) 2013-2017, ARM Limited. All rights reserved.\r
 *\r
 *  This program and the accompanying materials\r
 *  are licensed and made available under the terms and conditions of the BSD License\r
   JunoRevision = ARM_VE_BOARD_SYS_ID_REV( SysId );                     \\r
 }\r
 \r
-#define JUNO_WATCHDOG_COUNT  2\r
 \r
 // Define if the exported ACPI Tables are based on ACPI 5.0 spec or latest\r
 //#define ARM_JUNO_ACPI_5_0\r
index b8a6b131632dc6788b73a034a41b9e3176dffafa..2d82ead7612ae05c6f16f76008bde605a80ae5b9 100644 (file)
@@ -1,6 +1,6 @@
 #/** @file\r
 #\r
-#  Copyright (c) 2011-2016, ARM Limited. All rights reserved.\r
+#  Copyright (c) 2011-2017, ARM Limited. All rights reserved.\r
 #  Copyright (c) 2015, Intel Corporation. All rights reserved.\r
 #\r
 #  This program and the accompanying materials\r
   gArmPlatformTokenSpaceGuid.PcdPL031RtcBase|0x0|UINT32|0x00000024\r
   gArmPlatformTokenSpaceGuid.PcdPL031RtcPpmAccuracy|300000000|UINT32|0x00000022\r
 \r
+  gArmPlatformTokenSpaceGuid.PcdWatchdogCount|0x0|UINT32|0x00000033\r
+\r
 [PcdsFixedAtBuild.ARM]\r
   # Stack for CPU Cores in Secure Monitor Mode\r
   gArmPlatformTokenSpaceGuid.PcdCPUCoresSecMonStackBase|0|UINT64|0x00000007\r