1## @file
2#  I2c Dxe driver includes both I2c Bus and Host functionality.
3#
4#  This driver produce I2C Host Protocol on I2C controller handle, enumerate I2C
5#  devices on I2C bus and produce I2C IO Protocol on I2C devices.
6#
7#  Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
8#
9#  This program and the accompanying materials
10#  are licensed and made available under the terms and conditions of the BSD License
11#  which accompanies this distribution. The full text of the license may be found at
12#  http://opensource.org/licenses/bsd-license.php
13#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15#
16#
17##
18
19[Defines]
20  INF_VERSION                    = 0x00010005
21  BASE_NAME                      = I2cDxe
22  MODULE_UNI_FILE                = I2cDxe.uni
23  FILE_GUID                      = ECA2AE9E-7594-4901-871C-449DA1A11660
24  MODULE_TYPE                    = UEFI_DRIVER
25  VERSION_STRING                 = 1.0
26  ENTRY_POINT                    = InitializeI2c
27  UNLOAD_IMAGE                   = I2cUnload
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
33#
34
35[Sources.common]
36  I2cDxe.c
37  I2cDxe.h
38  I2cHost.c
39  I2cBus.c
40
41[LibraryClasses]
42  BaseMemoryLib
43  DebugLib
44  DevicePathLib
45  MemoryAllocationLib
46  UefiBootServicesTableLib
47  UefiDriverEntryPoint
48  UefiLib
49
50[Packages]
51  MdePkg/MdePkg.dec
52
53[Protocols]
54  gEfiI2cIoProtocolGuid                             ## BY_START
55  ## BY_START
56  ## TO_START
57  gEfiI2cHostProtocolGuid
58  ## BY_START
59  ## TO_START
60  gEfiDevicePathProtocolGuid
61  gEfiI2cMasterProtocolGuid                         ## TO_START
62  gEfiI2cEnumerateProtocolGuid                      ## TO_START
63  gEfiI2cBusConfigurationManagementProtocolGuid     ## TO_START
64
65[UserExtensions.TianoCore."ExtraFiles"]
66  I2cDxeExtra.uni
67
68