summaryrefslogtreecommitdiff
path: root/Silicon/AMD/Styx/Applications/StyxFlashUefi/StyxFlashUefi.inf
blob: 582b57b2c80d0e82849d566c787a6099dcd41528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#/** @file
#
#  Copyright (c) 2017, Linaro Ltd. All rights reserved.<BR>
#
#  This program and the accompanying materials
#  are licensed and made available under the terms and conditions of the BSD License
#  which accompanies this distribution.  The full text of the license may be found at
#  http://opensource.org/licenses/bsd-license.php
#
#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#**/

[Defines]
  INF_VERSION                    = 0x00010019
  BASE_NAME                      = StyxFlashUefi
  FILE_GUID                      = 07b65d9d-b1a2-416e-bd04-0b61b775f924
  MODULE_TYPE                    = UEFI_APPLICATION
  VERSION_STRING                 = 0.1
  ENTRY_POINT                    = ShellCEntryLib

#
#  VALID_ARCHITECTURES           = AARCH64
#

[Sources]
  StyxFlashImage.S
  StyxFlashUefi.c

[Packages]
  AmdModulePkg/AmdModulePkg.dec
  ArmPkg/ArmPkg.dec
  MdePkg/MdePkg.dec
  ShellPkg/ShellPkg.dec

[LibraryClasses]
  BaseMemoryLib
  ShellCEntryLib
  UefiBootServicesTableLib
  UefiLib

[Protocols]
  gAmdIscpDxeProtocolGuid

[FixedPcd]
  gArmTokenSpaceGuid.PcdFdBaseAddress
  gArmTokenSpaceGuid.PcdFvBaseAddress

[BuildOptions]
  *_*_*_CC_FLAGS = -mcmodel=small
  *_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -Wl,-T,$(MODULE_DIR)/Scripts/GccBase.lds
  *_*_*_PLATFORM_FLAGS = -I$(BIN_DIR)/../FV