summaryrefslogtreecommitdiff
path: root/Core/EM/Recovery/Recovery.sdl
blob: c735c008bf7edfe4abc33a33a10521bfad0573a9 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
TOKEN
	Name  = "Recovery_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable Recovery support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Master = Yes
End

TOKEN
	Name  = "RECOVERY_DEVICE_ORDER"
	Value  = "CAPSULE, BLOCK, SERIAL"
	Help  = "Defines order in which devices will be searched \for the recovery image."
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = "FAT_RECOVERY_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
    Name  = "SEARCH_FAT_PATH"
    Value = "0"
    Help = "If ON, a path may be specified in the token RECOVERY_ROM. \For FAT file system only."
    TokenType = BOOLEAN
    TargetH = Yes
End

TOKEN
	Name  = "NTFS_RECOVERY_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "EXT_RECOVERY_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "CD_RECOVERY_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "ATAPI_RECOVERY_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "SERIAL_RECOVERY_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "ATA_RECOVERY_SUPPORT"
	Value  = "1"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "RECOVERY_SCAN_RETRIES"
	Value  = "3"
	Help  = "Number of times to scan all recovery devices before reporting error"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "RECOVERY_ROM"
	Value  = "$(AMI_ROM)"
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = "RECOVERY_IMAGE_SIZE"
	Value  = "$(FLASH_SIZE)"
	Help  = "This is the size of the recovery file used in the build process"
	TokenType = Integer
	TargetH = Yes
End

PATH
	Name  = "Recovery_DIR"
End

MODULE
	Help  = "Includes Recovery.mak to Project"
	File  = "Recovery.mak"
End

ELINK
	Name  = "$(BUILD_DIR)\Recovery.ffs"
	Parent  = "FV_BB"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "RECOVERYLIB"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "$(Recovery_DIR)\Recovery.lib"
	Parent  = "RECOVERYLIB"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "RecoveryInitialize"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "CapsuleDeviceRecoveryEntry,"
	Parent  = "RecoveryInitialize"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "BlockDeviceRecoveryEntry,"
	Parent  = "RecoveryInitialize"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "SerialRecoveryPeimEntry,"
	Parent  = "RecoveryInitialize"
	Token = "SERIAL_RECOVERY_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "Atapi_RecoveryPeimEntry,"
	Parent  = "RecoveryInitialize"
	Token = "ATAPI_RECOVERY_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "Ata_RecoveryPeimEntry,"
	Parent  = "RecoveryInitialize"
	Token = "ATA_RECOVERY_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OemGetFileListFromPrimaryVolumeFunction"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AmiGetFileListFromPrimaryVolume"
	Parent  = "OemGetFileListFromPrimaryVolumeFunction"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OemGetFileListFromFatVolumeFunction"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AmiGetFileListFromFatVolume"
	Parent  = "OemGetFileListFromFatVolumeFunction"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OemGetFileListFromNtfsVolumeFunction"
	InvokeOrder = ReplaceParent
    Token = "NTFS_RECOVERY_SUPPORT" "=" "1"
End

ELINK
	Name  = "AmiGetFileListFromNtfsVolume"
	Parent  = "OemGetFileListFromNtfsVolumeFunction"
	InvokeOrder = AfterParent
    Token = "NTFS_RECOVERY_SUPPORT" "=" "1"
End

ELINK
	Name  = "OemGetFileListFromExtVolumeFunction"
	InvokeOrder = ReplaceParent
    Token = "EXT_RECOVERY_SUPPORT" "=" "1"
End

ELINK
	Name  = "AmiGetFileListFromExtVolume"
	Parent  = "OemGetFileListFromExtVolumeFunction"
	InvokeOrder = AfterParent
    Token = "EXT_RECOVERY_SUPPORT" "=" "1"
End

ELINK
	Name  = "OemIsValidFileFunction"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AmiIsValidFile"
	Parent  = "OemIsValidFileFunction"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OemGetRecoveryFileInfoFunction"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AmiGetRecoveryFileInfo"
	Parent  = "OemGetRecoveryFileInfoFunction"
	InvokeOrder = AfterParent
End