1 #/** @file 2 # 3 # Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> 4 # Copyright (c) 2011-2013, ARM Ltd. All rights reserved.<BR> 5 # Copyright (c) 2015, Hisilicon Limited. All rights reserved. 6 # Copyright (c) 2015, Linaro Limited. All rights reserved. 7 # 8 # This program and the accompanying materials 9 # are licensed and made available under the terms and conditions of the BSD License 10 # which accompanies this distribution. The full text of the license may be found at 11 # http://opensource.org/licenses/bsd-license.php 12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14 # 15 # 16 # Based on the files under ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf 17 # 18 #**/ 19 20 [Defines] 21 INF_VERSION = 0x00010005 22 BASE_NAME = DS3231RealTimeClockLib 23 FILE_GUID = 470DFB96-E205-4515-A75E-2E60F853E79D 24 MODULE_TYPE = BASE 25 VERSION_STRING = 1.0 26 LIBRARY_CLASS = RealTimeClockLib 27 28 [Sources.common] 29 DS3231RealTimeClockLib.c 30 31 [Packages] 32 MdePkg/MdePkg.dec 33 EmbeddedPkg/EmbeddedPkg.dec 34 OpenPlatformPkg/OpenPlatformPkg.dec 35 OpenPlatformPkg/Chips/Hisilicon/HisiPkg.dec 36 37 [LibraryClasses] 38 IoLib 39 UefiLib 40 DebugLib 41 PcdLib 42 I2CLib 43 TimerLib 44 # Use EFiAtRuntime to check stage 45 UefiRuntimeLib 46 EfiTimeBaseLib 47 48 [Pcd] 49 50