]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf
Add I2C bus DXE driver and I2C host DXE driver following PI 1.3 spec.
[mirror_edk2.git] / MdeModulePkg / Bus / I2c / I2cDxe / I2cHostDxe.inf
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf
new file mode 100644 (file)
index 0000000..ebd9fca
--- /dev/null
@@ -0,0 +1,53 @@
+## @file\r
+#  This driver produce I2C Host Protocol on I2C controller handle.\r
+#\r
+#  Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
+#\r
+#  This program and the accompanying materials\r
+#  are licensed and made available under the terms and conditions of the BSD License\r
+#  which accompanies this distribution. The full text of the license may be found at\r
+#  http://opensource.org/licenses/bsd-license.php\r
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#\r
+#\r
+##\r
+\r
+[Defines]\r
+  INF_VERSION                    = 0x00010005\r
+  BASE_NAME                      = I2cHostDxe\r
+  FILE_GUID                      = CDEC3671-816E-43DC-A002-DCD645229338\r
+  MODULE_TYPE                    = UEFI_DRIVER\r
+  VERSION_STRING                 = 1.0\r
+  ENTRY_POINT                    = InitializeI2cHost\r
+  UNLOAD_IMAGE                   = I2cHostUnload\r
+\r
+#\r
+# The following information is for reference only and not required by the build tools.\r
+#\r
+#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#\r
+\r
+[Sources.common]\r
+  I2cDxe.h\r
+  I2cHost.c\r
+\r
+[LibraryClasses]\r
+  BaseMemoryLib\r
+  DebugLib\r
+  DevicePathLib\r
+  MemoryAllocationLib\r
+  UefiBootServicesTableLib\r
+  UefiDriverEntryPoint\r
+  UefiLib\r
+\r
+[Packages]\r
+  MdePkg/MdePkg.dec\r
+\r
+[Protocols]\r
+  gEfiI2cIoProtocolGuid                             ## BY_START\r
+  gEfiI2cHostProtocolGuid                           ## BY_START\r
+  gEfiI2cMasterProtocolGuid                         ## TO_START\r
+  gEfiI2cEnumerateProtocolGuid                      ## TO_START\r
+  gEfiI2cBusConfigurationManagementProtocolGuid     ## TO_START\r
+  gEfiI2cHostProtocolGuid                           ## TO_START\r