summaryrefslogtreecommitdiff
path: root/Board/EM/Thunderbolt/TbtOemBoard/TbtSetup/TbtSetup.sdl
blob: 5752562a369f44c1e67e31b6ae88893a66a0844e (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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
#*************************************************************************
#*************************************************************************
#**                                                                     **
#**        (C)Copyright 1985-2012, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************
#*************************************************************************
# $Header: /Alaska/SOURCE/Modules/Thunderbolt/TbtOemBoard/TbtSetup/TbtSetup.sdl 9     5/19/14 7:40a Barretlin $
#
# $Revision: 9 $
#
# $Date: 5/19/14 7:40a $
#*************************************************************************
# Revision History
# ----------------
# $Log: /Alaska/SOURCE/Modules/Thunderbolt/TbtOemBoard/TbtSetup/TbtSetup.sdl $
# 
# 9     5/19/14 7:40a Barretlin
# [TAG]  		EIP165410
# [Category]  	Improvement
# [Description]  	Support Thunderbolt AIC at NB PCIE slot
# [Files]  		TbtPei.c TbtDxe.c TbtGpe.asl TbtSmm.c TbtOemBoard.c
# TbtOemLib.c TbtOemLib.h TbtSetup.sdl TbtSetup.sd TbtSetup.uni
# TbtSetupReset.c
# 
# 8     5/19/14 7:19a Barretlin
# [TAG]  		EIP N/A
# [Category]  	Improvement
# [Description]  	Using setup item choose return value of _RMV method in
# ASL code
# [Files]  		TbtDxe.c TbtGpe.asl TbtOemBoard.c TbtOemBoard.h TbtSetup.sd
# TbtSetup.sdl TbtSetup.uni
# 
# 7     2/10/14 1:30p Barretlin
# [TAG]  		EIP N/A
# [Category]  	Improvement
# [Description]  	remove useless policy item and setup item
# [Files]  		TbtOemBoard.h TbtOemBoard.c TbSetup.sdl TbtSetup.sd
# TbtSetup.uni TbtSmm.c
# 
# 6     1/05/14 2:13p Barretlin
# [TAG]  		EIP N/A
# [Category]  	New Feature
# [Description]  	Support Thunderbolt feature Enable/Disable in run time
# Support dynamic Thunderbolt AIC location in run time
# [Files]  		TbtSetup.sdl TbtSetup.sd TbtSetup.uni TbtSetupReset.c
# 
# 5     6/17/13 4:25a Barretlin
# [TAG]  		EIP126581
# [Category]  	Improvement
# [Description]  	add new AIC support setup item and change
# TBWakeupSupport name
# [Files]  		TbtSetup.sdl TbtSetup.sd TbtSetup.uni
# 
# 4     5/06/13 12:06a Barretlin
# [TAG]  		EIP N/A
# [Category]  	Improvement
# [Description]  	Fix clone ACPI setup item fail
# [Files]  		TbtSetup.sdl
# 
# 3     3/21/13 6:00a Barretlin
# [TAG]  		EIP N/A
# [Category]  	Improvement
# [Description]  	Clone PCIE prot swap setup item and set disable by
# default
# [Files]  		TbtSetup.sdl TbtSetup.sd TbtSetup.uni
# 
# 2     1/10/13 5:11a Barretlin
# 
# 1     1/10/13 4:57a Barretlin
# Change SS path and update module for Thunderbolt Spec 1.6 for Cactus
# Ridge chip and Thunderbolt Spec 0.5 for Redwood Ridge chip
# 
# 11    12/12/12 4:47a Barretlin
# [TAG]  		None
# [Category]  	New Feature
# [Description]  	Add Thunderbolt TSE Setup Reset Hook
# [Files]  		TbtSetup.sdl TbtSetup.mak TbtSetup.cif TbtSetupReset.c
# 
# 10    10/27/12 6:16a Barretlin
# [TAG]  		EIP N/A
# [Category]  	Improvement
# [Description]  	Create new setup item for thunderbolt POC handling
# [Files]  		TbtSetup.sdl TbtSetup.sd TbtSetup.uni
# 
# 9     8/20/12 5:16a Barretlin
# [TAG]  		EIP N/A
# [Category]  	Improvement
# [Description]  	Fix IO resource workaround broken in 4C 2port case
# [Files]  		TbtSmm.c TbtOemBoard.c TbtOemBoard.h TbtSetup.sdl
# TbtSetup.sd TbtSetup.uni
# 
# 8     8/17/12 8:53a Barretlin
# [TAG]  		EIP N/A
# [Category]  	Improvement
# [Description]  	Add IO resource workaround for Thunderbolt Spec1.1
# Because new spec has removed IO resource for Thunderbolt device
# [Files]  		TbtSmm.c TbtOemBoard.c TbtOemBoard.h TbtSetup.sdl
# TbtSetup.sd TbtSetup.uni
# 
# 7     7/31/12 3:28a Barretlin
# [TAG]  		EIP91119
# [Category]  	Improvement
# [Description]  	Resolution for enable/disable Thunderbolt device option
# rom at POST time
# [Files]  		TbtDxe.c TbtOemBoard.c TbtOemBoard.h TbtOemBoard.sdl
# TbtSetup.sdl TbtSetup.sd TbtSetup.uni
# 
# 6     5/22/12 10:05a Barretlin
# [TAG]  		EIP90650
# [Category]  	Spec Update
# [Description]  	Specificatoin Update 0.94 - The default value of
# OPTIONAL workaround for devices that don't support surprise-removal
# should be disable.
# [Files]  		TbtSmm.c TbtOemBoard.c TbtOemBoard.h
# TbtSetup.sdl TbtSetup.sd TbtSetup.uni
# 
# 5     5/20/12 10:42p Barretlin
# [TAG]  		EIP90169
# [Category]  	Spec Update
# [Description]  	Specificatoin Update 0.93 - BIOS should stall wake
# process for approximately 2.5 seconds to ensure
# completeness of TBT link to all endpoint devices.
# [Files]  		TbtSetup.sdl
# 
# 4     3/05/12 1:11a Barretlin
# [TAG]  		EIP83266
# [Category]  	Spec Update
# [Description]  	Specificatoin Update 0.90
# [Files]  		TbtSetup.sdl
# TbtSetup.sd
# TbtSetup.uni
# TbtSetup.cif
# TbtOemBoard.h
# TbtOemLib.c
# TbtOemLib.h
# TbtSmm.c
# TbtPei..
# 
# 2     2/19/12 11:52p Wesleychen
# Add new setup item "SmiNotifyEnabled".
# 
# 1     12/08/11 4:09a Wesleychen
# Thunderbolt eModule initially releases.
# 
#*************************************************************************
TOKEN
	Name  = "Tbt_Setup"
	Value  = "1"
	Help  = "Main switch to enable Tbt Setup support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	Master = Yes
End

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

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

TOKEN
	Name  = "DEFAULT_TBT_AIC_SUPPORT"
	Value  = "0"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_TBT_AIC_SUPPORT"
	Value  = "0"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_TBT_AIC_LOCATION"
	Value  = "$(TBT_UP_PORT_FUNC) + 0x20"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "TBT_UP_PORT_DEV" "!=" "0x1C"
End

TOKEN
	Name  = "DEFAULT_TBT_AIC_LOCATION"
	Value  = "$(TBT_UP_PORT_FUNC)"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "TBT_UP_PORT_DEV" "=" "0x1C"
End

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

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

TOKEN
	Name = "DEFAULT_TBT_WAK_DELAY"
	Value = "2500"
	Help = "The delay time for wakup in ms.\0: Disable\500 = 500ms\1000 = 1 sec"
	TokenType = Integer
	TargetH = Yes
End


TOKEN
	Name  = "DEFAULT_TBT_SWSMI_DELAY"
	Value  = "0"
	Help  = "This delay time for TBT SwSMI in ms. \0 = Disable; 1 = 1ms; 1000 = 1sec ..."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_SKIP_TBT_OPTIONROM"
	Value  = "1"
	Help  = "Enable:1 / Disable:0  skip Thunderbolt Device Option Rom"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_TBT_RMV_RETURN_VALUE"
	Value  = "0"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "TBT_NVM"
	Value  = "17"
	Help  = "Thunderbolt Host Router EEEPROM Version. for IO source workaround using."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "DEFAULT_TBT_IO_RESOURCE_SUPPORT"
	Value  = "0"
	Help  = "Enable:1 / Disable:0 IO resource for Thunderbolt Device"
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DISABLE_PCIE_ROOT_PORT_SWAP"
	Value  = "1"
	Help  = "Disable Intel RC PCI Express root port swap function."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DISABLE_PCIE_ROOT_PORT_SWAP"
	Value  = "0"
	Help  = "Disable Intel RC PCI Express root port swap function."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
	Token = "TBT_PCIE_PORT_SWAP_SUPPORT" "=" "1"
End

TOKEN
	Name  = "DISABLE_PCIE_ROOT_PORT_SWAP"
	Value  = "0"
	Help  = "Disable Intel RC PCI Express root port swap function. MahoBay platform has no this setup item."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
	Token = "DESKTOP_306AX" "=" "1"
End

TOKEN
	Name  = "DISABLE_PCIE_ROOT_PORT_SWAP"
	Value  = "0"
	Help  = "Disable Intel RC PCI Express root port swap function. ChiefRiver platform has no this setup item."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
	Token = "MOBILE_306AX" "=" "1"
End

PATH
	Name  = "TbtSetup_DIR"
End

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

ELINK
        Name  = "$(BUILD_DIR)\TbtSetup.sdb"
        Parent  = "SETUP_SDBS"
        Priority  = 40
        Help  = "Includes generic TBT setup screens to the project"
        InvokeOrder = AfterParent
End

ELINK
        Name  = "$(TbtSetup_DIR)\TbtSetup.sd"
        Parent  = "SETUP_DEFINITIONS"
        Priority  = 40
        InvokeOrder = AfterParent
End

ELINK
	Name  = "/I$(TbtSetup_DIR)"
	Parent  = "TBT_INCLUDES"
	InvokeOrder = AfterParent
End

ELINK
	Name = "-i $(TbtSetup_DIR)"
	Parent = "SETUP_VFR_INCLUDES"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "InitiTbtInfo,"
	Parent  = "SetupStringInit"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "TbtProcessEnterSetup,"
	Parent  = "ProcessEnterSetup,"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "TbtSetupResetHook,"
	Parent  = "PreSystemResetHook,"
	InvokeOrder = AfterParent
End

#*************************************************************************
#*************************************************************************
#**                                                                     **
#**        (C)Copyright 1985-2012, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************