Home | History | Annotate | Download | only in Devices
      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                      = SpiFlashDxe
     35   FILE_GUID                      = 49d7fb74-306d-42bd-94c8-c0c54b181dd7
     36   MODULE_TYPE                    = DXE_DRIVER
     37   VERSION_STRING                 = 1.0
     38   ENTRY_POINT                    = MvSpiFlashEntryPoint
     39 
     40 [Sources]
     41   MvSpiFlash.c
     42   MvSpiFlash.h
     43 
     44 [Packages]
     45   MdePkg/MdePkg.dec
     46   OpenPlatformPkg/Platforms/Marvell/Marvell.dec
     47 
     48 [LibraryClasses]
     49   UefiBootServicesTableLib
     50   UefiDriverEntryPoint
     51   TimerLib
     52   UefiLib
     53   DebugLib
     54   MemoryAllocationLib
     55 
     56 [FixedPcd]
     57   gMarvellTokenSpaceGuid.PcdSpiFlashAddressCycles
     58   gMarvellTokenSpaceGuid.PcdSpiFlashEraseSize
     59   gMarvellTokenSpaceGuid.PcdSpiFlashPageSize
     60   gMarvellTokenSpaceGuid.PcdSpiFlashPollCmd
     61 
     62 [Protocols]
     63   gMarvellSpiMasterProtocolGuid
     64   gMarvellSpiFlashProtocolGuid
     65 
     66 [Depex]
     67   TRUE
     68