1# Copyright (C) 2016 Marvell International Ltd. 2# 3# Marvell BSD License Option 4# 5# If you received this File from Marvell, you may opt to use, redistribute and/or 6# modify this File under the following licensing terms. 7# Redistribution and use in source and binary forms, with or without modification, 8# are permitted provided that the following conditions are met: 9# 10# * Redistributions of source code must retain the above copyright notice, 11# this list of conditions and the following disclaimer. 12# 13# * Redistributions in binary form must reproduce the above copyright 14# notice, this list of conditions and the following disclaimer in the 15# documentation and/or other materials provided with the distribution. 16# 17# * Neither the name of Marvell nor the names of its contributors may be 18# used to endorse or promote products derived from this software without 19# specific prior written permission. 20# 21# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 22# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 23# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 24# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 25# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 26# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 27# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 28# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31# 32 33[Defines] 34 INF_VERSION = 0x00010005 35 BASE_NAME = MarvellComPhyLib 36 FILE_GUID = 3314541a-9647-4a37-b8c6-24e000900e4e 37 MODULE_TYPE = BASE 38 VERSION_STRING = 1.0 39 LIBRARY_CLASS = ComPhyLib 40 41[Packages] 42 MdePkg/MdePkg.dec 43 MdeModulePkg/MdeModulePkg.dec 44 ArmPkg/ArmPkg.dec 45 ArmPlatformPkg/ArmPlatformPkg.dec 46 OpenPlatformPkg/Platforms/Marvell/Marvell.dec 47 48[LibraryClasses] 49 ArmLib 50 DebugLib 51 MemoryAllocationLib 52 PcdLib 53 IoLib 54 ParsePcdLib 55 56[Sources.common] 57 ComPhyLib.c 58 ComPhyCp110.c 59 ComPhyMux.c 60 61[FixedPcd] 62 gMarvellTokenSpaceGuid.PcdComPhyChipCount 63 64 #Chip0 65 gMarvellTokenSpaceGuid.PcdChip0Compatible 66 gMarvellTokenSpaceGuid.PcdChip0ComPhyBaseAddress 67 gMarvellTokenSpaceGuid.PcdChip0Hpipe3BaseAddress 68 gMarvellTokenSpaceGuid.PcdChip0ComPhyMuxBitCount 69 gMarvellTokenSpaceGuid.PcdChip0ComPhyMaxLanes 70 71 gMarvellTokenSpaceGuid.PcdChip0ComPhyTypes 72 gMarvellTokenSpaceGuid.PcdChip0ComPhySpeeds 73 gMarvellTokenSpaceGuid.PcdChip0ComPhyInvFlags 74 75 #Chip1 76 gMarvellTokenSpaceGuid.PcdChip1Compatible 77 gMarvellTokenSpaceGuid.PcdChip1ComPhyBaseAddress 78 gMarvellTokenSpaceGuid.PcdChip1Hpipe3BaseAddress 79 gMarvellTokenSpaceGuid.PcdChip1ComPhyMuxBitCount 80 gMarvellTokenSpaceGuid.PcdChip1ComPhyMaxLanes 81 82 gMarvellTokenSpaceGuid.PcdChip1ComPhyTypes 83 gMarvellTokenSpaceGuid.PcdChip1ComPhySpeeds 84 gMarvellTokenSpaceGuid.PcdChip1ComPhyInvFlags 85 86 #Chip2 87 gMarvellTokenSpaceGuid.PcdChip2Compatible 88 gMarvellTokenSpaceGuid.PcdChip2ComPhyBaseAddress 89 gMarvellTokenSpaceGuid.PcdChip2Hpipe3BaseAddress 90 gMarvellTokenSpaceGuid.PcdChip2ComPhyMuxBitCount 91 gMarvellTokenSpaceGuid.PcdChip2ComPhyMaxLanes 92 93 gMarvellTokenSpaceGuid.PcdChip2ComPhyTypes 94 gMarvellTokenSpaceGuid.PcdChip2ComPhySpeeds 95 gMarvellTokenSpaceGuid.PcdChip2ComPhyInvFlags 96 97 #Chip3 98 gMarvellTokenSpaceGuid.PcdChip3Compatible 99 gMarvellTokenSpaceGuid.PcdChip3ComPhyBaseAddress 100 gMarvellTokenSpaceGuid.PcdChip3Hpipe3BaseAddress 101 gMarvellTokenSpaceGuid.PcdChip3ComPhyMuxBitCount 102 gMarvellTokenSpaceGuid.PcdChip3ComPhyMaxLanes 103 104 gMarvellTokenSpaceGuid.PcdChip3ComPhyTypes 105 gMarvellTokenSpaceGuid.PcdChip3ComPhySpeeds 106 gMarvellTokenSpaceGuid.PcdChip3ComPhyInvFlags 107 108 #SATA 109 gMarvellTokenSpaceGuid.PcdSataBaseAddress 110