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 = MvEeprom 35 FILE_GUID = 59fc3843-d8d4-40aa-ae07-38967138509c 36 MODULE_TYPE = DXE_DRIVER 37 VERSION_STRING = 1.0 38 ENTRY_POINT = MvEepromInitialise 39 40 [Sources.common] 41 MvEeprom.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 BaseMemoryLib 55 DebugLib 56 UefiLib 57 UefiDriverEntryPoint 58 UefiBootServicesTableLib 59 60 [Protocols] 61 gEfiI2cIoProtocolGuid 62 gEfiDriverBindingProtocolGuid 63 gMarvellEepromProtocolGuid 64 65 [Pcd] 66 gMarvellTokenSpaceGuid.PcdEepromI2cAddresses 67 gMarvellTokenSpaceGuid.PcdEepromI2cBuses 68 69 [Depex] 70 TRUE 71