Home | History | Annotate | Download | only in SpiTool
      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 = 0x00010006
     34  BASE_NAME = UefiShellSpiFlashLib
     35  FILE_GUID = 2f2dd8c9-221f-4acf-afe5-5897264c5774
     36  MODULE_TYPE = UEFI_APPLICATION
     37  VERSION_STRING = 0.1
     38  LIBRARY_CLASS = NULL|UEFI_APPLICATION UEFI_DRIVER
     39  CONSTRUCTOR = ShellSpiFlashLibConstructor
     40  DESTRUCTOR = ShellSpiFlashLibDestructor
     41 
     42 [Sources]
     43  SpiFlashCmd.c
     44  SpiFlashCmd.uni
     45 
     46 [Packages]
     47  MdePkg/MdePkg.dec
     48  ShellPkg/ShellPkg.dec
     49  MdeModulePkg/MdeModulePkg.dec
     50  OpenPlatformPkg/Platforms/Marvell/Marvell.dec
     51 
     52 [LibraryClasses]
     53  UefiLib
     54  UefiBootServicesTableLib
     55  MemoryAllocationLib
     56  BaseLib
     57  BaseMemoryLib
     58  DebugLib
     59  ShellCommandLib
     60  ShellLib
     61  UefiLib
     62  UefiRuntimeServicesTableLib
     63  PcdLib
     64  HiiLib
     65  FileHandleLib
     66 
     67 [Pcd]
     68  gMarvellTokenSpaceGuid.PcdSpiFlashId
     69 
     70 [Protocols]
     71  gMarvellSpiFlashProtocolGuid
     72  gMarvellSpiMasterProtocolGuid
     73 
     74 [Guids]
     75  gShellSfHiiGuid
     76