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
|
#*************************************************************************
#*************************************************************************
#** **
#** (C)Copyright 1985-2011, American Megatrends, Inc. **
#** **
#** All Rights Reserved. **
#** **
#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
#** **
#** Phone: (770)-246-8600 **
#** **
#*************************************************************************
#*************************************************************************
#
#*************************************************************************
# $Header: /Alaska/BIN/IO/Fintek/F81216_Sec/IO_F81216.SDL 6 6/18/12 3:12a Elviscai $
#
# $Revision: 6 $
#
# $Date: 6/18/12 3:12a $
#*************************************************************************
# Revision History
# ----------------
# $Log: /Alaska/BIN/IO/Fintek/F81216_Sec/IO_F81216.SDL $
#
# 6 6/18/12 3:12a Elviscai
# Specific Tokentype Integer to ENT2
#
# 5 7/04/11 3:22a Kasalinyi
# [Category] Improvement
# [Description] Update to new template
# [Files] IO_F81216.SDL
# F81216.ASL
# F81216.MAK
# F81216.SD
# F81216.UNI
# F81216DXE.C
# F81216PEI.C
# F81216Setup.H
# F81216.CIF
#
# 4 11/17/10 5:01a Mikes
# [Category] Improvement
# [Description] Add TargetMAK for master token
# [Files] IO_F81216.SDL
#
# 3 10/28/10 2:23a Mikes
# Add enter configure key token
# Clean code and implement new name rule
#
# 2 6/02/10 9:42p Fantasylai
# Redefine the TOKEN "CORE_AFTER_4634"
#
# 1 3/31/10 5:55a Fantasylai
# Initial release to F81216 just as a second IO
#
#*************************************************************************
#<AMI_FHDR_START>
#
# Name: <IO_F81216.SDL>
#
# Description: SDL file to define SIO functions
#
#
#<AMI_FHDR_END>
#*************************************************************************
IODEVICE
Name = "F81216 SIO Implementation"
ASLfile = "F81216.ASL"
End
IODEVICE
Name = "F81216 Serial Port A2"
ASLfile = "Board\IO\F81216\ACPI\UART1.ASL"
ASLdeviceName = "UR11"
Token = "F81216SEC_SERIAL_PORT0_PRESENT" "=" "1"
End
IODEVICE
Name = "F81216 Serial Port B2"
ASLfile = "Board\IO\F81216\ACPI\UART2.ASL"
ASLdeviceName = "UR12"
Token = "F81216SEC_SERIAL_PORT1_PRESENT" "=" "1"
End
IODEVICE
Name = "F81216 Serial Port C2"
ASLfile = "Board\IO\F81216\ACPI\UART3.ASL"
ASLdeviceName = "UR13"
Token = "F81216SEC_SERIAL_PORT2_PRESENT" "=" "1"
End
IODEVICE
Name = "F81216 Serial Port D2"
ASLfile = "Board\IO\F81216\ACPI\UART4.ASL"
ASLdeviceName = "UR14"
Token = "F81216SEC_SERIAL_PORT3_PRESENT" "=" "1"
End
TOKEN
Name = "====== SIO Global Control Tokens ======"
Value = "!!!DO NOT CHANGE NAMES JUST VALUES!!!"
Help = "Specfy global control tokens."
TokenType = Expression
End
TOKEN
Name = "F81216SEC_SUPPORT"
Value = "1"
Help = "Main switch to enable F81216SEC support in Project"
TokenType = Boolean
TargetEQU = Yes
TargetH = Yes
Master = Yes
End
TOKEN
Name = "F81216SEC_CONFIG_INDEX"
Value = "0x2E"
TokenType = Integer
TargetEQU = Yes
TargetH = Yes
End
TOKEN
Name = "F81216SEC_CONFIG_DATA"
Value = "0x2F"
TokenType = Integer
TargetEQU = Yes
TargetH = Yes
End
TOKEN
Name = "SP2O"
Value = "$(F81216SEC_CONFIG_INDEX)"
Help = "Super IO Index/Data configuration port for ASL."
TokenType = Integer
TargetASL = Yes
End
TOKEN
Name = "====== SIO Logical Devices Numbers ======"
Value = "!!!DO NOT CHANGE NAMES JUST VALUES!!!"
Help = "Specfy Devices Logical Number."
TokenType = Expression
End
TOKEN
Name = "F81216SEC_LDN_UART0"
Value = "0x00"
Help = "LDN for Serial1 Port Controller"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_LDN_UART1"
Value = "0x01"
Help = "LDN for Serial2 Port Controller"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_LDN_UART2"
Value = "0x02"
Help = "LDN for Serial3 Port Controller"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_LDN_UART3"
Value = "0x03"
Help = "LDN for Serial4 Port Controller"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_LDN_WDT"
Value = "0x08"
Help = "LDN for Watch Dog Timer"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "=== SIO Global Registers Settings =========="
Value = "!!!DO NOT CHANGE NAMES JUST VALUES!!!"
Help = "SIO Global Registers Setting"
TokenType = Expression
End
TOKEN
Name = "F81216SEC_CLOCK"
Value = "0"
Help = "1/0 for 48Mhz/24MHz"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "====== SIO Registers Layout =========="
Value = "!!!DO NOT CHANGE NAMES JUST VALUES!!!"
Help = "Specfy Register address inside SIO Chip."
TokenType = Expression
End
TOKEN
Name = "F81216SEC_LDN_SEL_REGISTER"
Value = "0x07"
Help = "Logical Device Select Register Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_DEV_ID_REGISTER"
Value = "0x20"
Help = "Device Identification Register Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_ACTIVATE_REGISTER"
Value = "0x30"
Help = "Device Identification Register Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_BASE1_HI_REGISTER"
Value = "0x60"
Help = "Device BaseAddres Register#1 MSB Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_BASE1_LO_REGISTER"
Value = "0x61"
Help = "Device BaseAddres Register#1 LSB Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_BASE2_HI_REGISTER"
Value = "0x62"
Help = "Device BaseAddres Register#2 MSB Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_BASE2_LO_REGISTER"
Value = "0x63"
Help = "Device BaseAddres Register#2 LSB Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_IRQ1_REGISTER"
Value = "0x70"
Help = "Device IRQ Register#1 Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_IRQ2_REGISTER"
Value = "0x72"
Help = "Device IRQ Register#2 Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_DMA1_REGISTER"
Value = "0x74"
Help = "Device DMA Register#1 Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_DMA2_REGISTER"
Value = "0x75"
Help = "Device DMA Register#2 Address"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "=== SIO Activation Values =========="
Value = "!!!DO NOT CHANGE NAMES JUST VALUES!!!"
Help = "Logical Device Activation Value."
TokenType = Expression
End
TOKEN
Name = "F81216SEC_CONFIG_MODE_ENTER_VALUE"
Value = "0x77"
Help = "Value to enter Configuration Mode.Please check your hardware\Default is 0x77.\others are 0xA0, 0x87, 0x67"
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "ENT2"
Value = "$(F81216SEC_CONFIG_MODE_ENTER_VALUE)"
Help = "Value to enter Configuration Mode.Please check your hardware\Default is 0x77.\others are 0xA0, 0x87, 0x67"
TokenType = Integer
TargetASL = Yes
End
TOKEN
Name = "F81216SEC_ACTIVATE_VALUE"
Value = "0x01"
Help = "Value to activate Device."
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "F81216SEC_DEACTIVATE_VALUE"
Value = "0x00"
Help = "Value to deactivate Device."
TokenType = Integer
TargetH = Yes
End
TOKEN
Name = "=== SIO Logic Device Present Settings =========="
Value = "!!!DO NOT CHANGE NAMES JUST VALUES!!!"
Help = "All Logic Device Present / Not Present."
TokenType = Expression
End
TOKEN
Name = "F81216SEC_SERIAL_PORT0_PRESENT"
Value = "1"
Help = "Serial Port 0 (COMA / UART0) Present / Not Present."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "F81216SEC_SERIAL_PORT1_PRESENT"
Value = "1"
Help = "Serial Port 1 (COMB / UART1) Present / Not Present."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "F81216SEC_SERIAL_PORT2_PRESENT"
Value = "1"
Help = "Serial Port 2 (COMC / UART2) Present / Not Present."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "F81216SEC_SERIAL_PORT3_PRESENT"
Value = "1"
Help = "Serial Port 3 (COMD / UART3) Present / Not Present."
TokenType = Boolean
TargetH = Yes
End
TOKEN
Name = "F81216SEC_WDT_PORT_PRESENT"
Value = "1"
Help = "WDT Port Present / Not Present."
TokenType = Boolean
TargetH = Yes
TargetMAK = Yes
End
TOKEN
Name = "===== SIO Module Setting ======"
Value = "!!!DO NOT CHANGE NAMES JUST VALUES!!!"
Help = "SIO Module Setting"
TokenType = Expression
End
PATH
Name = "F81216_DIR"
End
MODULE
Help = "Includes F81216.MAK to Project"
File = "F81216.MAK"
End
ELINK
Name = "$(BUILD_DIR)\F81216.SDB"
Parent = "SETUP_SDBS"
Priority = 40
InvokeOrder = AfterParent
End
ELINK
Name = "$(F81216_DIR)\F81216.SD"
Parent = "SETUP_DEFINITIONS"
Priority = 40
InvokeOrder = AfterParent
End
ELINK
Name = "PeiF81216SECInit,"
Parent = "PeiCoreInitialize"
InvokeOrder = AfterParent
Priority = 2
Help = "if SecondIO, Priority must be 2."
End
ELINK
Name = "F81216SEC,"
Parent = "DxeSioList"
InvokeOrder = AfterParent
Priority = 2
Help = "if SecondIO, Priority must be 2."
End
ELINK
Name = "-i $(F81216_DIR)"
Parent = "SETUP_VFR_INCLUDES"
InvokeOrder = AfterParent
End
ELINK
Name = "{dsUART,0x10, STRING_TOKEN(STR_F81216SEC_SERIAL0_CONFIG_VALUE)},"
Parent = "SetupStrTableList"
Token = "F81216SEC_SERIAL_PORT0_PRESENT" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "{dsUART,0x11, STRING_TOKEN(STR_F81216SEC_SERIAL1_CONFIG_VALUE)},"
Parent = "SetupStrTableList"
Token = "F81216SEC_SERIAL_PORT1_PRESENT" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "{dsUART,0x12, STRING_TOKEN(STR_F81216SEC_SERIAL2_CONFIG_VALUE)},"
Parent = "SetupStrTableList"
Token = "F81216SEC_SERIAL_PORT2_PRESENT" "=" "1"
InvokeOrder = AfterParent
End
ELINK
Name = "{dsUART,0x13, STRING_TOKEN(STR_F81216SEC_SERIAL3_CONFIG_VALUE)},"
Parent = "SetupStrTableList"
Token = "F81216SEC_SERIAL_PORT3_PRESENT" "=" "1"
InvokeOrder = AfterParent
End
#*************************************************************************
#*************************************************************************
#*************************************************************************
#** **
#** (C)Copyright 1985-2011, American Megatrends, Inc. **
#** **
#** All Rights Reserved. **
#** **
#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
#** **
#** Phone: (770)-246-8600 **
#** **
#*************************************************************************
#*************************************************************************
|