diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2017-05-03 18:29:34 +0100 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2017-05-10 14:28:37 +0100 |
commit | af5fed90bfbf27dc1acafbd69b98f4968a97ef3a (patch) | |
tree | 3b0bedcba8ed1f85760a90c866fbfebbf0d407a8 /ArmPlatformPkg/Include | |
parent | b48959957128264ec7f56a18b1d8ddae85bfdffc (diff) | |
download | edk2-af5fed90bfbf27dc1acafbd69b98f4968a97ef3a.zip edk2-af5fed90bfbf27dc1acafbd69b98f4968a97ef3a.tar.gz edk2-af5fed90bfbf27dc1acafbd69b98f4968a97ef3a.tar.bz2 |
ArmPlatformPkg,ArmVirtPkg: delete redundant PL031 functions
Remove the functions now provided by TimeBaseLib from
PL031RealTimeClockLib. Add TimeBaseLib resolution to ArmVirtPkg
in same commit to prevent breakage.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'ArmPlatformPkg/Include')
-rw-r--r-- | ArmPlatformPkg/Include/Drivers/PL031RealTimeClock.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ArmPlatformPkg/Include/Drivers/PL031RealTimeClock.h b/ArmPlatformPkg/Include/Drivers/PL031RealTimeClock.h index 76fbd0e..812cd9b 100644 --- a/ArmPlatformPkg/Include/Drivers/PL031RealTimeClock.h +++ b/ArmPlatformPkg/Include/Drivers/PL031RealTimeClock.h @@ -42,15 +42,4 @@ #define PL031_COUNTS_PER_SECOND 1
-// Define EPOCH (1970-JANUARY-01) in the Julian Date representation
-#define EPOCH_JULIAN_DATE 2440588
-
-// Seconds per unit
-#define SEC_PER_MIN ((UINTN) 60)
-#define SEC_PER_HOUR ((UINTN) 3600)
-#define SEC_PER_DAY ((UINTN) 86400)
-
-#define SEC_PER_MONTH ((UINTN) 2,592,000)
-#define SEC_PER_YEAR ((UINTN) 31,536,000)
-
#endif
|