I2cDxe.inf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 - 2018, Intel Corporation. All rights reserved.<BR>
  8. #
  9. # SPDX-License-Identifier: BSD-2-Clause-Patent
  10. #
  11. #
  12. ##
  13. [Defines]
  14. INF_VERSION = 0x00010005
  15. BASE_NAME = I2cDxe
  16. MODULE_UNI_FILE = I2cDxe.uni
  17. FILE_GUID = ECA2AE9E-7594-4901-871C-449DA1A11660
  18. MODULE_TYPE = UEFI_DRIVER
  19. VERSION_STRING = 1.0
  20. ENTRY_POINT = InitializeI2c
  21. UNLOAD_IMAGE = I2cUnload
  22. #
  23. # The following information is for reference only and not required by the build tools.
  24. #
  25. # VALID_ARCHITECTURES = IA32 X64 EBC
  26. #
  27. [Sources.common]
  28. I2cDxe.c
  29. I2cDxe.h
  30. I2cHost.c
  31. I2cBus.c
  32. [LibraryClasses]
  33. BaseMemoryLib
  34. DebugLib
  35. DevicePathLib
  36. MemoryAllocationLib
  37. UefiBootServicesTableLib
  38. UefiDriverEntryPoint
  39. UefiLib
  40. [Packages]
  41. MdePkg/MdePkg.dec
  42. [Protocols]
  43. gEfiI2cIoProtocolGuid ## BY_START
  44. ## BY_START
  45. ## TO_START
  46. gEfiI2cHostProtocolGuid
  47. ## BY_START
  48. ## TO_START
  49. gEfiDevicePathProtocolGuid
  50. gEfiI2cMasterProtocolGuid ## TO_START
  51. gEfiI2cEnumerateProtocolGuid ## TO_START
  52. gEfiI2cBusConfigurationManagementProtocolGuid ## TO_START
  53. [UserExtensions.TianoCore."ExtraFiles"]
  54. I2cDxeExtra.uni