1 # 2 # Marvell BSD License Option 3 # 4 # If you received this File from Marvell, you may opt to use, redistribute 5 # and/or modify this File under the following licensing terms. 6 # Redistribution and use in source and binary forms, with or without 7 # modification, are permitted provided that the following conditions are met: 8 # 9 # * Redistributions of source code must retain the above copyright notice, 10 # this list of conditions and the following disclaimer. 11 # 12 # * Redistributions in binary form must reproduce the above copyright 13 # notice, this list of conditions and the following disclaimer in the 14 # documentation and/or other materials provided with the distribution. 15 # 16 # * Neither the name of Marvell nor the names of its contributors may be 17 # used to endorse or promote products derived from this software without 18 # specific prior written permission. 19 # 20 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 24 # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 # 31 32 [Defines] 33 INF_VERSION = 0x00010005 34 BASE_NAME = MvI2cDxe 35 FILE_GUID = 59fc3843-d8d4-40aa-ae07-38967138509b 36 MODULE_TYPE = DXE_DRIVER 37 VERSION_STRING = 1.0 38 ENTRY_POINT = MvI2cInitialise 39 40 [Sources.common] 41 MvI2cDxe.c 42 43 [Packages] 44 MdePkg/MdePkg.dec 45 MdeModulePkg/MdeModulePkg.dec 46 ArmPlatformPkg/ArmPlatformPkg.dec 47 ArmPkg/ArmPkg.dec 48 OpenPlatformPkg/Platforms/Marvell/Marvell.dec 49 50 [LibraryClasses] 51 IoLib 52 PcdLib 53 BaseLib 54 DebugLib 55 UefiLib 56 UefiDriverEntryPoint 57 UefiBootServicesTableLib 58 ParsePcdLib 59 60 [Protocols] 61 gEfiI2cMasterProtocolGuid 62 gEfiDevicePathProtocolGuid 63 gEfiI2cEnumerateProtocolGuid 64 gEfiI2cBusConfigurationManagementProtocolGuid 65 66 [Pcd] 67 gMarvellTokenSpaceGuid.PcdI2cSlaveAddresses 68 gMarvellTokenSpaceGuid.PcdI2cSlaveBuses 69 gMarvellTokenSpaceGuid.PcdI2cBaseAddresses 70 gMarvellTokenSpaceGuid.PcdI2cClockFrequency 71 gMarvellTokenSpaceGuid.PcdI2cBaudRate 72 gMarvellTokenSpaceGuid.PcdI2cBusCount 73 74 [Depex] 75 TRUE 76