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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
|
TOKEN
Name = "AMIUSB_SUPPORT"
Value = "1"
Help = "Main switch to enable AMI USB support in Project"
TokenType = Boolean
TargetEQU = Yes
TargetMAK = Yes
TargetH = Yes
Master = Yes
End
TOKEN
Name = "USB_DRIVER_MAJOR_VER"
Value = "8"
Help = "USB driver major version"
TokenType = Integer
TargetH = Yes
Lock = Yes
End
TOKEN
Name = "USB_DRIVER_MINOR_VER"
Value = "10"
Help = "USB driver minor version"
TokenType = Integer
TargetH = Yes
Lock = Yes
End
TOKEN
Name = "USB_DRIVER_BUILD_VER"
Value = "36"
Help = "USB driver build version"
TokenType = Integer
TargetH = Yes
Lock = Yes
End
TOKEN
Name = "UHCI_SUPPORT"
Value = "1"
Help = "Enable/Disable UHCI controller(s)."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "OHCI_SUPPORT"
Value = "1"
Help = "Enable/Disable OHCI controller(s)"
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "EHCI_SUPPORT"
Value = "1"
Help = "Enable/Disable EHCI controller(s)"
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "XHCI_SUPPORT"
Value = "1"
Help = "Enable/Disable xHCI controller(s)"
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_HOTPLUG_FDD"
Value = "0"
Help = "Includes the support for USB hot plug floppy drive."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_HOTPLUG_HDD"
Value = "0"
Help = "Includes the support for USB hot plug hard drive."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_HOTPLUG_CDROM"
Value = "0"
Help = "Includes the support for USB hot plug CD-ROM drive."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "HIDE_USB_SUPPORT_SETUP_QUESTION"
Value = "1"
Help = "This setup item is for debug only. Switch to Hide/Un-hide USB Support setup question."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_LEGACY_PLATFORM_SUPPORT"
Value = "1"
Help = "Includes the USB Legacy options and keypress monitor implementation."
TokenType = Boolean
TargetH = Yes
Token = "KEYMONFILTER_SUPPORT" "!=" "0"
End
TOKEN
Name = "KBC_EMULATION_8MSTD_OVERRIDE"
Value = "25"
Help = "This token is designed to work around the problems for the projects that have the actual KBC hardware enabled and at the same time enable KBC emulation.\For these projects there is a high probability of racing conditions between IRQ1 handler and USB keyboard SMI handler. It was found the problem could be solved by 'slowing down' the 8ms TD schedule.\By default 8ms is changed to 25ms. This change may depend on the execution time of SMI dispatcher (number of SMI handlers, size of SMI code, cachability of SMM area, etc.)."
TokenType = Integer
TargetH = Yes
Range = "8..64"
End
TOKEN
Name = "KEY_REPEAT_DELAY"
Value = "2"
Help = "This value is for the offset of the aTypematicRateDelayTable. aTypematicRateDelayTable is based on 8ms periodic interrupt. If the periodic interrupt is more than 8ms , modify this token for the proper delay between KeyRepeat action. To calculate the delay between Key repeat action PeriodicTime Interrupt Interval * aTypematicRateDelayTable[KEY_REPEAT_DELAY]"
TokenType = Integer
TargetH = Yes
Range = "0..3"
End
TOKEN
Name = "KEY_REPEAT_INITIAL_DELAY"
Value = "6"
Help = "This value is for the offset of the aTypematicRateDelayTable. aTypematicRateDelayTable is based on 8ms periodic interrupt. If the periodic interrupt is more than 8ms , modify this token for the proper initial delay for KeyRepeat action.To calculate the initial delay for the Key repeat action PeriodicTime Interrupt Interval * aTypematicRateDelayTable[KEY_REPEAT_INITIAL_DELAY]"
TokenType = Integer
TargetH = Yes
Range = "4..7"
End
TOKEN
Name = "USB_KEYREPEAT_INTERVAL"
Value = "0"
Help = "0-Use default key repeat interval 8ms. 1-Use key repeat interval 16ms."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_EHCI_HANDOFF_SUPPORT"
Value = "1"
Help = "Switch to enable EHCI hand-off"
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "XHCI_EVENT_SERVICE_MODE"
Value = "0"
Help = "This token controlls xHCI event service mode.\0 - Use periodic timer SMI.\1 - Use xHCI hardware SMI.\2 - Both periodic timer SMI and se xHCI hardware SMI."
TokenType = Integer
TargetH = Yes
Range = "0..2"
End
TOKEN
Name = "USB_XHCI_EXT_HW_SMI_PINS"
Value = "255"
Help = "List of xHCI GPI bit offset in the following format: GPI0, GPI1,...,GPIN.\Use 0xFF (255) to ignore the settings."
TokenType = Expression
TargetH = Yes
Range = "0..31"
Token = "XHCI_EVENT_SERVICE_MODE" "!=" "0"
End
TOKEN
Name = "USB_S5_WAKEUP_SUPPORT"
Value = "0"
Help = "Support USB S5 wakeup function."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_DIFFERENTIATE_IDENTICAL_DEVICE_NAME"
Value = "0"
Help = "If enabled the USB Device name string is prefixed with U1-,U2-... for each USB device to differentiate the Devices with same Device name Strings."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_BAD_DEVICES"
Help = "List the non-compliant USB devices, please refer to the gUsbBadDeviceTable in usbport.c."
TokenType = Expression
TargetH = Yes
End
TOKEN
Name = "HIDE_USB_HISPEED_SUPPORT_SETUP_QUESTION"
Value = "1"
Help = "Switch to Hide/Un-hide USB HiSpeed Support setup question."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "DEFAULT_USB_EMUL6064_OPTION"
Value = "1"
Help = "Default value of the I/O port 60h/64h emulation support option"
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_RUNTIME_DRIVER_IN_SMM"
Value = "1"
TokenType = Boolean
TargetMAK = Yes
TargetH = Yes
End
TOKEN
Name = "EXTERNAL_USB_CONTROLLER_SUPPORT"
Value = "1"
Help = "Support external USB controllers."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_OHCI_HANDOFF_SUPPORT"
Value = "0"
Help = "Switch to enable OHCI hand-off workaround"
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_CONTROLLERS_WITH_RMH"
Help = "List of USB controllers that have integrated USB 2.0 Rate Matching Hubs (RMH) in the following format: {vid1, did1}, {vid2, did2}"
TokenType = Expression
TargetH = Yes
End
TOKEN
Name = "HIDE_USB_XHCI_LEGACY_SUPPORT_SETUP_QUESTION"
Value = "1"
Help = "This setup item is for debug only. Switch to Hide/Un-hide USB XHCI Legacy Support setup question."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_SETUP_VARIABLE_RUNTIME_ACCESS"
Value = "0"
Help = "Set Runtime attribute for the setup variables used by USB driver."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_CONTROLLERS_INITIAL_DELAY_LIST"
Help = "List of USB controllers which need to delay for stabilization in the following format: {vid1, did1, delay time1(ms)}, {vid2, did2, delay time2(ms)}"
TokenType = Expression
TargetH = Yes
End
TOKEN
Name = "DEFAULT_XHCI_HANDOFF_OPTION"
Value = "1"
Help = "Default value of the XHCI Hand-off option."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "USB_STORAGE_DEVICE_RMB_CHECK"
Value = "1"
Help = "RMB bit returned by inquiry command indicate whether device media is removable.\Off: Always set mass storage devices RemovableMedia.\On: Check RMB status from inquiry data. \"
TokenType = Boolean
TargetH = Yes
End
PATH
Name = "USBPORTING_DIR"
End
PATH
Name = "UHCD_DIR"
Path = "core\em\usb"
End
PATH
Name = "USBRT_DIR"
Path = "core\em\usb\rt"
Help = "AMI USB runtime files source directory"
End
PATH
Name = "USB_SETUP_DIR"
Path = "core\em\usb\setup"
End
PATH
Name = "USB_SB_DIR"
Path = "chipset\sb\usb"
End
MODULE
Help = "Includes uhcd.mak into project"
Path = "$(UHCD_DIR)"
File = "uhcd.mak"
End
MODULE
Help = "Includes usbrt.mak into project"
Path = "$(USBRT_DIR)"
File = "usbrt.mak"
End
ELINK
Name = "$(BUILD_DIR)\usb.sdb"
Parent = "SETUP_SDBS"
Priority = 30
InvokeOrder = AfterParent
End
ELINK
Name = "$(USB_SETUP_DIR)\usb.sd"
Parent = "SETUP_DEFINITIONS"
Priority = 30
InvokeOrder = AfterParent
End
ELINK
Name = "$(BUILD_DIR)\uhcd.ffs"
Parent = "FV_MAIN"
InvokeOrder = AfterParent
End
ELINK
Name = "$(BUILD_DIR)\usbrt.ffs"
Parent = "FV_MAIN"
InvokeOrder = AfterParent
End
ELINK
Name = "InitUSBStrings,"
Parent = "SetupStringInit"
InvokeOrder = AfterParent
End
ELINK
Name = "UsbAcpiEnableCallBack,"
Parent = "AcpiEnableCallbackList"
Token = "USB_RUNTIME_DRIVER_IN_SMM" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "USB_DEV_DELAYED_DRIVER_LIST"
InvokeOrder = ReplaceParent
End
ELINK
Name = "USB_DEV_DRIVER_LIST"
InvokeOrder = ReplaceParent
End
ELINK
Name = "USB_DEV_EFI_DRIVER_LIST"
InvokeOrder = ReplaceParent
End
ELINK
Name = "USBHIDFillDriverEntries,"
Parent = "USB_DEV_DELAYED_DRIVER_LIST"
InvokeOrder = AfterParent
End
ELINK
Name = "USBMassFillDriverEntries,"
Parent = "USB_DEV_DELAYED_DRIVER_LIST"
Token = "USB_DEV_MASS" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "USBCCIDFillDriverEntries,"
Parent = "USB_DEV_DELAYED_DRIVER_LIST"
Token = "USB_DEV_CCID" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "USBHubFillDriverEntries,"
Parent = "USB_DEV_DRIVER_LIST"
Token = "USB_DEV_HUB" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "BusFillDriverEntries,"
Parent = "USB_DEV_DRIVER_LIST"
InvokeOrder = AfterParent
End
ELINK
Name = "USBHIDFillDriverEntries,"
Parent = "USB_DEV_DRIVER_LIST"
InvokeOrder = AfterParent
End
ELINK
Name = "USBMassFillDriverEntries,"
Parent = "USB_DEV_DRIVER_LIST"
Token = "USB_DEV_MASS" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "USBCCIDFillDriverEntries,"
Parent = "USB_DEV_DRIVER_LIST"
Token = "USB_DEV_CCID" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "UsbBusInit,"
Parent = "USB_DEV_EFI_DRIVER_LIST"
InvokeOrder = AfterParent
End
ELINK
Name = "UsbHidInit,"
Parent = "USB_DEV_EFI_DRIVER_LIST"
InvokeOrder = AfterParent
End
ELINK
Name = "UsbMassInit,"
Parent = "USB_DEV_EFI_DRIVER_LIST"
Token = "USB_DEV_MASS" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "UsbCCIDInit,"
Parent = "USB_DEV_EFI_DRIVER_LIST"
Token = "USB_DEV_CCID" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "CheckKeyBoardBufferForSpecialChars"
Help = "This is a list of OEM KBD routines that consumes KBD buffer to handle some input chanracters differently. \The child eLink can be in following format:Functionname(DEV_INFO fpDevInfo, UINT8 *fpBuffer)"
InvokeOrder = ReplaceParent
End
ELINK
Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS, 0, USB_DEVICES_ENABLED_REFRESH_KEY, UpdateUSBStrings),"
Parent = "SetupItemCallbacks"
InvokeOrder = AfterParent
End
ELINK
Name = "{{ 0xEC87D643, 0xEBA4, 0x4BB5, 0xA1, 0xE5, 0x3F, 0x3E, 0x36, 0xB2, 0x0D, 0xA9 }, {'U','s','b','M','a','s','s','D','e','v','N','u','m'}},"
Parent = "AMITSE_DYNAMICPARSING_HANDLE_SUPPRESS_LIST"
InvokeOrder = AfterParent
End
ELINK
Name = "{{ 0xEC87D643, 0xEBA4, 0x4BB5, 0xA1, 0xE5, 0x3F, 0x3E, 0x36, 0xB2, 0x0D, 0xA9 }, {'U','s','b','M','a','s','s','D','e','v','V','a','l','i','d'}},"
Parent = "AMITSE_DYNAMICPARSING_HANDLE_SUPPRESS_LIST"
InvokeOrder = AfterParent
End
ELINK
Name = "{{ 0xEC87D643, 0xEBA4, 0x4BB5, 0xA1, 0xE5, 0x3F, 0x3E, 0x36, 0xB2, 0x0D, 0xA9 }, {'U','s','b','S','u','p','p','o','r','t'}},"
Parent = "AMITSE_DYNAMICPARSING_HANDLE_SUPPRESS_LIST"
InvokeOrder = AfterParent
End
|