summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/ArmRealViewEbPkg
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-11 11:20:27 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-11 11:20:27 +0000
commit0f4386e775c76c215425f529d4339fd4a85a47b9 (patch)
treeb9d9933d351fccbbe98bd37b0d41b3fd6de3fe5c /ArmPlatformPkg/ArmRealViewEbPkg
parent99127e9699712277102534228dada5afb45ad9ff (diff)
downloadedk2-platforms-0f4386e775c76c215425f529d4339fd4a85a47b9.tar.xz
ArmPlatformPkg/PL031RealTimeClockLib: Implement PL031 RTC drive
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11793 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/ArmRealViewEbPkg')
-rw-r--r--ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h
index f053bdd9cc..bbe736c398 100644
--- a/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h
+++ b/ArmPlatformPkg/ArmRealViewEbPkg/Include/Platform/ArmPlatform.h
@@ -92,6 +92,9 @@
#define SP804_TIMER2_BASE (ARM_EB_BOARD_PERIPH_BASE + 0x12000)
#define SP804_TIMER3_BASE (ARM_EB_BOARD_PERIPH_BASE + 0x12020)
+// PL301 RTC
+#define PL031_RTC_BASE (ARM_EB_BOARD_PERIPH_BASE + 0x17000)
+
// Dynamic Memory Controller Base
#define ARM_EB_DMC_BASE 0x10018000
@@ -119,6 +122,10 @@
//#define ARM_EB_L2x0_CTLR_BASE 0x1E00A000*/
+// PL031 RTC - Other settings
+#define PL031_PPM_ACCURACY 300000000
+
+
/*******************************************
// EFI Memory Map in Permanent Memory (DRAM)
*******************************************/