summaryrefslogtreecommitdiff
path: root/ArmPkg/Library/ArmArchTimerLib
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2013-11-28 21:37:36 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2013-11-28 21:37:36 +0000
commit168d724568ff1525517b1d0b00361419ca564310 (patch)
tree67f706543d6fb77eda234d3f179b682cabb35de9 /ArmPkg/Library/ArmArchTimerLib
parent54ed21dbbbc8b4a675fc33833c2bff9f13675375 (diff)
downloadedk2-168d724568ff1525517b1d0b00361419ca564310.zip
edk2-168d724568ff1525517b1d0b00361419ca564310.tar.gz
edk2-168d724568ff1525517b1d0b00361419ca564310.tar.bz2
ArmPkg: Move definition of ArmIsArchTimerImplemented / ArmReadIdPfrN to ArmLib
These functions are not chipset specific. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14908 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmArchTimerLib')
-rw-r--r--ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c
index 970bde3..4373e8c 100644
--- a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c
+++ b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c
@@ -1,7 +1,7 @@
/** @file
Generic ARM implementation of TimerLib.h
- Copyright (c) 2011-2012, ARM Limited. All rights reserved.
+ Copyright (c) 2011-2013, ARM Limited. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -15,12 +15,12 @@
#include <Base.h>
+#include <Library/ArmLib.h>
#include <Library/BaseLib.h>
#include <Library/TimerLib.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/ArmArchTimerLib.h>
-#include <Chipset/ArmV7.h>
#define TICKS_PER_MICRO_SEC (PcdGet32 (PcdArmArchTimerFreqInHz)/1000000U)