blob: c84a5193efc44d088d34ab4cb053e4ecdfcea778 [file] [log] [blame]
Ronald Cron3402aac2014-08-19 13:29:52 +00001# This is Ebl FDF file
AJFISH2ef2b012009-12-06 01:57:05 +00002#
hhtian60274cc2010-04-29 12:40:51 +00003# Copyright (c) 2008, Intel Corporation. All rights reserved.<BR>
AJFISH2ef2b012009-12-06 01:57:05 +00004#
hhtian60274cc2010-04-29 12:40:51 +00005# This program and the accompanying materials
AJFISH2ef2b012009-12-06 01:57:05 +00006# are licensed and made available under the terms and conditions of the BSD License
7# which accompanies this distribution. The full text of the license may be found at
8# http://opensource.org/licenses/bsd-license.php
9#
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12#
13
14################################################################################
15#
16# FV Section
17#
18# [FV] section is used to define what components or modules are placed within a flash
19# device file. This section also defines order the components and modules are positioned
20# within the image. The [FV] section consists of define statements, set statements and
21# module statements.
22#
23################################################################################
24[FV.FvLoad]
25FvAlignment = 16 #FV alignment and FV attributes setting.
26ERASE_POLARITY = 1
27MEMORY_MAPPED = TRUE
28STICKY_WRITE = TRUE
29LOCK_CAP = TRUE
30LOCK_STATUS = TRUE
31WRITE_DISABLED_CAP = TRUE
32WRITE_ENABLED_CAP = TRUE
33WRITE_STATUS = TRUE
34WRITE_LOCK_CAP = TRUE
35WRITE_LOCK_STATUS = TRUE
36READ_DISABLED_CAP = TRUE
37READ_ENABLED_CAP = TRUE
38READ_STATUS = TRUE
39READ_LOCK_CAP = TRUE
40READ_LOCK_STATUS = TRUE
41
42################################################################################
43#
44# The INF statements point to module INF files, which will be placed into this FV image.
45# Parsing tools will scan the INF file to determine the type of component or module.
46# The component or module type is used to reference the standard rules
47# defined elsewhere in the FDF file.
48#
49# The format for INF statements is:
50# INF $(PathAndInfFileName)
51#
52################################################################################
53INF EmbeddedPkg/Ebl/Ebl.inf
Ronald Cron3402aac2014-08-19 13:29:52 +000054
AJFISH2ef2b012009-12-06 01:57:05 +000055################################################################################
Ronald Cron3402aac2014-08-19 13:29:52 +000056#
AJFISH2ef2b012009-12-06 01:57:05 +000057# Rules are use with the [FV] section's module INF type to define
58# how an FFS file is created for a given INF file. The following Rule are the default
59# rules for the different module type. User can add the customized rules to define the
60# content of the FFS file.
Ronald Cron3402aac2014-08-19 13:29:52 +000061#
AJFISH2ef2b012009-12-06 01:57:05 +000062################################################################################
Ronald Cron3402aac2014-08-19 13:29:52 +000063
64
AJFISH2ef2b012009-12-06 01:57:05 +000065############################################################################
Ronald Cron3402aac2014-08-19 13:29:52 +000066# Example of a DXE_DRIVER FFS file with a Checksum encapsulation section #
AJFISH2ef2b012009-12-06 01:57:05 +000067############################################################################
Ronald Cron3402aac2014-08-19 13:29:52 +000068#
AJFISH2ef2b012009-12-06 01:57:05 +000069#[Rule.Common.DXE_DRIVER]
70# FILE DRIVER = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +000071# DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
AJFISH2ef2b012009-12-06 01:57:05 +000072# COMPRESS PI_STD {
73# GUIDED {
oliviermartin6740ea72011-09-06 18:41:55 +000074# PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +000075# UI STRING="$(MODULE_NAME)" Optional
76# VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER)
77# }
78# }
79# }
80#
81############################################################################
82
83[Rule.Common.SEC]
84 FILE SEC = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +000085 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +000086 }
87
88[Rule.Common.PEI_CORE]
89 FILE PEI_CORE = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +000090 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
Ronald Cron3402aac2014-08-19 13:29:52 +000091 UI STRING ="$(MODULE_NAME)" Optional
AJFISH2ef2b012009-12-06 01:57:05 +000092 }
93
94[Rule.Common.PEIM]
95 FILE PEIM = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +000096 PEI_DEPEX PEI_DEPEX Optional $(MODULE_NAME).depex
97 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
Ronald Cron3402aac2014-08-19 13:29:52 +000098 UI STRING="$(MODULE_NAME)" Optional
AJFISH2ef2b012009-12-06 01:57:05 +000099 }
100
101[Rule.Common.PEIM.TIANOCOMPRESSED]
102 FILE PEIM = $(NAMED_GUID) DEBUG_MYTOOLS_IA32 {
oliviermartin6740ea72011-09-06 18:41:55 +0000103 PEI_DEPEX PEI_DEPEX Optional $(MODULE_NAME).depex
AJFISH2ef2b012009-12-06 01:57:05 +0000104 GUIDED A31280AD-481E-41B6-95E8-127F4C984779 PROCESSING_REQUIRED = TRUE {
oliviermartin6740ea72011-09-06 18:41:55 +0000105 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +0000106 UI STRING="$(MODULE_NAME)" Optional
107 }
108 }
109
110[Rule.Common.DXE_CORE]
111 FILE DXE_CORE = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +0000112 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +0000113 UI STRING="$(MODULE_NAME)" Optional
114 }
115
116[Rule.Common.UEFI_DRIVER]
117 FILE DRIVER = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +0000118 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
119 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +0000120 UI STRING="$(MODULE_NAME)" Optional
121 }
122
123[Rule.Common.DXE_DRIVER]
124 FILE DRIVER = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +0000125 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
126 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +0000127 UI STRING="$(MODULE_NAME)" Optional
128 }
129
130[Rule.Common.DXE_RUNTIME_DRIVER]
131 FILE DRIVER = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +0000132 DXE_DEPEX DXE_DEPEX Optional $(INF_OUTPUT)/$(MODULE_NAME).depex
133 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +0000134 UI STRING="$(MODULE_NAME)" Optional
135 }
136
137[Rule.Common.UEFI_APPLICATION]
138 FILE APPLICATION = $(NAMED_GUID) {
oliviermartin6740ea72011-09-06 18:41:55 +0000139 PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi
AJFISH2ef2b012009-12-06 01:57:05 +0000140 UI STRING="$(MODULE_NAME)" Optional
141 }