summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/ArmVExpressPkg/Include/Platform
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-11 11:22:05 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-11 11:22:05 +0000
commit33e7c2abf4852c98d13072102277170e198c5220 (patch)
tree3b236cf5aea03a8410829ccf4c74c9f46f906671 /ArmPlatformPkg/ArmVExpressPkg/Include/Platform
parent0f4386e775c76c215425f529d4339fd4a85a47b9 (diff)
downloadedk2-platforms-33e7c2abf4852c98d13072102277170e198c5220.tar.xz
ArmPlatformPkg: Add SP805 Watchdog support
- Create SP805 Watchdog timer - Enable this new driver on VExpress Cortex-A9x4 Core tile git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11794 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmVExpressPkg/Include/Platform')
-rw-r--r--ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h b/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h
index 4e8c02d3fc..171b0420d5 100644
--- a/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h
+++ b/ArmPlatformPkg/ArmVExpressPkg/Include/Platform/CTA9x4/ArmPlatform.h
@@ -106,6 +106,10 @@
//#define PL111_CLCD_BASE PL111_CLCD_MOTHERBOARD_BASE
#define PL111_CLCD_BASE PL111_CLCD_CORE_TILE_BASE
+// Specify which Watchdog to use
+#define SP805_WDOG_BASE SP805_WDOG_MOTHERBOARD_BASE
+//#define SP805_WDOG_BASE SP805_WDOG_CORE_TILE_BASE
+
/***********************************************************************************
Peripherals' misc settings
************************************************************************************/
@@ -129,6 +133,9 @@
// PL031 RTC - Other settings
#define PL031_PPM_ACCURACY 300000000
+// SP805 Watchdog - Other settings
+#define SP805_CLOCK_FREQUENCY 32000
+#define SP805_MAX_TICKS 0xFFFFFFFF
// PL111 Lcd
#define PL111_CLCD_CORE_TILE_VIDEO_MODE_OSC_ID 1