summaryrefslogtreecommitdiff
path: root/Board/NB/NB.sdl
blob: 4ce72da65c9773eded1e85b81bd55cd8c994386c (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
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
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
#*************************************************************************
#*************************************************************************
#**                                                                     **
#**        (C)Copyright 1985-2015, American Megatrends, Inc.            **
#**                                                                     **
#**                       All Rights Reserved.                          **
#**                                                                     **
#**      5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093           **
#**                                                                     **
#**                       Phone: (770)-246-8600                         **
#**                                                                     **
#*************************************************************************
#*************************************************************************
#*************************************************************************
# $Header: /Alaska/BIN/Chipset/Intel/NorthBridge/Haswell/Intel SystemAgent NB Board/NB.sdl 23    7/02/15 2:48a Dennisliu $
#
# $Revision: 23 $
#
# $Date: 7/02/15 2:48a $
#*************************************************************************
# Revision History
# ----------------
# $Log: /Alaska/BIN/Chipset/Intel/NorthBridge/Haswell/Intel SystemAgent NB Board/NB.sdl $
# 
# 23    7/02/15 2:48a Dennisliu
# [TAG]  		EIP221317
# [Category]  	Improvement
# [Description]  	[SharkBay] S3 Security Technical Advisories
# [Files]  		Board\NB\NB.sdl
# 
# 22    11/07/13 3:37a Ireneyang
# [TAG]         None
# [Category]    Improvement
# [Description] Remove "AMI_SA_ECC_DIMM_ERROR" for EIP#138347. 
# [Solution]    It's fixed in RC1.7.0.
# [Files]       NB.sdl; MrcCrosser.c;
# 
# 21    10/29/13 12:04p Ireneyang
# 
# 20    10/29/13 11:55a Ireneyang
# [TAG]         EIP139301
# [Category]    BugFix
# [Description] Hanging issue when moving ECC Dimm form channel B 
#               dimm 1 to channel A dimm 0.
# [Solution]    Fix MRC code form Intel Patch. (This will be fixed
#               in next version RC code.)
# [Files]       MrcCrosser.c; NB.sdl;
# 
# 19    5/22/13 6:42a Ireneyang
# [TAG]         None
# [Category]    Improvement
# [Description] Add Token SG_GPIO_SUPPORT for GpioSupport.
# [Files]       NB.sdl; NBPEI.c;
# 
# 18    3/14/13 4:15a Ireneyang
# [TAG]          None
# [Severity]     Improvement
# [Description]  Increase "PEI_MIN_MEMORY_SIZE" to "0x4000000" for PFAT
#                and Recovery. 
# [Files]        NB.sdl;
# 
# 17    2/25/13 4:25a Ireneyang
# [TAG]  	 EIP115090
# [Category]  	 Improvement
# [Description]  Memory data hasn't been cleared after running MRC base
#                memory test.
# [Files]  	 NB.sdl;  NBPEI.c;
# 
# 16    1/14/13 6:12a Jeffch
# [TAG]          None
# [Severity]     Spec update
# [Description]  Create Iedsize token for  SA RC 0.90.
# [Files]        NB.sdl;
# 
# 15    11/08/12 7:04a Jeffch
# 
# 14    10/30/12 7:17a Jeffch
# [TAG]          None
# [Severity]     Important
# [Description]  Update SA RC 0.72.
# [Files]        NB.sdl; NBDXEboard.c
# 
# 13    10/14/12 11:41a Jeffch
# [TAG]          None
# [Severity]     Important
# [Description]  Follow SA RC 0.71.
# [Files]       Nb.sdl
# 
# 12    10/14/12 12:50a Jeffch
# [TAG]          None
# [Severity]     Important
# [Description]  Follow Update by Mahobay.
# [Files]        NB.sdl, NB.mak.c; NBDXEBoard.c; NB.sdl
# 
# 11    9/26/12 9:28a Yurenlai
# [TAG]          EIP101495
# [Category]     Improvement
# [Severity]     Important
# [Description]  Initialize SSID of B0:D3:F0 and B0:D2:F0/F1.
# [Files]        NB.h, NB.sdl, NBPEI.c
# 
# 10    8/14/12 4:26a Yurenlai
# [TAG]          None
# [Severity]     Important
# [Description]  Change for SystemAgent RefCode Revision: 0.6.1.
# [Files]        NB.sdl, NB.sd, NBCSP.CIF, NBDxe.c, NB.ASL, SaAudio.asl 
# 
# 9     7/27/12 8:46a Yurenlai
# [TAG]          None
# [Category]     Improvement
# [Description]  IGfx Fource Disable Support.
# [Files]        GetSetupData.c, NB.sdl, NB.sd, NB.uni, NbSetupData.h,
#                NBDxe.c, NBPEI.c
# 
# 8     6/14/12 5:19a Yurenlai
# [TAG]          None
# [Category]     Improvement
# [Description]  Support token to disable PEG 0 ~ 2.
# [Description]  NB.sdl, NB.sd, NB.ASL, HOST_BUS.ASL
# 
# 7     4/26/12 3:00a Yurenlai
# [TAG]          None
# [Category]     Improvement
# [Severity]     Important
# [Description]  Adjust Intel System Agent module the Setup item and
#                Policy.
# [Description]  GetSetupData.c, NB.sdl, NB.sd, NB.uni, NBDxe.c,
#                NBPEI.c, NBSetup.c, NBSetupReset.c, NbSetupData.h
# 
# 6     4/05/12 2:15a Yurenlai
# [TAG]  	 EIP87103
# [Category]  	 Spec Update
# [Severity]  	 Important
# [Description]  Add token NB_IOTRAP_SMI_ADDRESSE for SystemAgent
#                RefCode Revision: 0.5.5.
# [Files]  	 Nb.sdl
# 
# 5     4/05/12 2:03a Yurenlai
# [TAG]          None
# [Category]     Improvement
# [Description]  Add HD Audio device router.
# [Files]        Nb.sdl
# 
# 4     3/08/12 10:32p Yurenlai
# [TAG]          None
# [Category]     Improvement
# [Description]  Change VBIOS the files name.
#                Notice : This hsm_Vbios.bin and hsd_Vbios.bin is dummy
#                files.
# [Files]        Nb.sdl, hsm_VBios.bin, hsd_VBios.bin, NBCSP.CIF
# 
# 3     2/23/12 10:14p Yurenlai
# 
# [TAG]          None
# [Category]     Improvement
# [Description]  If you want to test IGD, please replace into correct
#                VBIOS.
# [Files]        Nb.sdl, NBCSP.CIF
# 
# 2     2/23/12 6:57a Yurenlai
# [TAG]          None
# [Category]     Improvement
# [Description]  Change VBIOS the file name.
#                Notice : This hsm_Vbios.dat file is false. 
# [Files]        Nb.sdl, hsm_Vbios.dat, NBCSP.CIF
# 
# 1     2/08/12 4:32a Yurenlai
# Intel Haswell/NB eChipset initially releases.
#
#*************************************************************************
PCIDEVICE
	Title  = "Host Bridge"
	Bus  = 00h
	Dev  = 00h
	Fun  = 00h
	BridgeBus  = 00h
	ASLfile  = "$(INTEL_ACPI_ASL_DIR)\HOST_BUS.ASL"
	ASLdeviceName  = "PCI0"
	DeviceType = OnBoard
	PCIBusSize = PciEx
	PCIBridge = Yes
	ROMMain = No
End

PCIDEVICE
	Title  = "P.E.G. Root Port D1F0"
	Bus  = 00h
	Dev  = 01h
	Fun  = 00h
	BridgeBus  = 02h
	GPEbit  = 09h
	SleepNum  = 04h
	IntA = 	LNKA; 16
	IntB = 	LNKB; 17
	IntC = 	LNKC; 18
	IntD = 	LNKD; 19
	Token = "RC_PEG_0" "=" "1"
	DeviceType = OnBoard
	PCIBusSize = PciEx
	PCIBridge = Yes
End

PCIDEVICE
	Title  = "P.E.G. Root Port D1F1"
	Bus  = 00h
	Dev  = 01h
	Fun  = 01h
	BridgeBus  = 0ah
	GPEbit  = 09h
	SleepNum  = 04h
	Token = "RC_PEG_1" "=" "1"
	DeviceType = OnBoard
	PCIBusSize = PciEx
	PCIBridge = Yes
End

PCIDEVICE
	Title  = "P.E.G. Root Port D1F2"
	Bus  = 00h
	Dev  = 01h
	Fun  = 02h
	BridgeBus  = 0bh
	GPEbit  = 09h
	SleepNum  = 04h
	Token = "RC_PEG_2" "=" "1"
	DeviceType = OnBoard
	PCIBusSize = PciEx
	PCIBridge = Yes
End

PCIDEVICE
	Title  = "P.E.G. Port Slot x16"
	Bus  = 02h
	Dev  = 00h
	Slot  = 010h
	GPEbit  = 09h
	SleepNum  = 04h
	IntA = 	LNKA; 16
	IntB = 	LNKB; 17
	IntC = 	LNKC; 18
	IntD = 	LNKD; 19
	Token = "RC_PEG_0" "=" "1"
	DeviceType = Slot
	PCIBusSize = PciEx
End

PCIDEVICE
	Title  = "P.E.G. Port Slot x8"
	Bus  = 0ah
	Dev  = 00h
	Slot  = 011h
	GPEbit  = 09h
	SleepNum  = 04h
	IntA = 	LNKB; 17
	IntB = 	LNKC; 18
	IntC = 	LNKD; 19
	IntD = 	LNKA; 16
	Token = "RC_PEG_1" "=" "1"
	DeviceType = Slot
	PCIBusSize = PciEx
End

PCIDEVICE
	Title  = "P.E.G. Port Slot x4"
	Bus  = 0bh
	Dev  = 00h
	Slot  = 012h
	GPEbit  = 09h
	SleepNum  = 04h
	IntA = 	LNKC; 18
	IntB = 	LNKD; 19
	IntC = 	LNKA; 16
	IntD = 	LNKB; 17
	Token = "RC_PEG_2" "=" "1"
	DeviceType = Slot
	PCIBusSize = PciEx
End

PCIDEVICE
	Title  = "I.G.F.X."
	Bus  = 00h
	Dev  = 02h
	Fun  = 00h
	ROMFile  = "Chipset\NB\hsw_VBios.dat"
	DeviceID  = 0402h
	VendorID  = 08086h
	IntA = 	LNKA; 16
	DeviceType = OnBoard
	PCIBusSize = 32bit
	OptionROM = Yes
	CompressedROM = Yes
End

PCIDEVICE
	Title  = "I.G.D., Fun#1"
	Bus  = 00h
	Dev  = 02h
	Fun  = 01h
	Disable = Yes
	DeviceType = OnBoard
	PCIBusSize = 32bit
	ROMMain = No
End

PCIDEVICE
	Title  = "SA HDA Device"
	Bus  = 00h
	Dev  = 03h
	Fun  = 00h
	DeviceID  = 0c0ch
	VendorID  = 08086h
	IntA = 	LNKA; 16
	DeviceType = OnBoard
	PCIBusSize = 32bit
End

PCIDEVICE
	Title  = "SA Thermal Device"
	Bus  = 00h
	Dev  = 04h
	Fun  = 00h
	GPEbit  = 09h
	SleepNum  = 04h
	ASLdeviceName  = "B0D4"
	IntA = 	LNKA; 16
	IntB = 	LNKB; 17
	IntC = 	LNKC; 18
	IntD = 	LNKD; 19
	DeviceType = OnBoard
	PCIBusSize = PciEx
	ROMMain = No
End

TOKEN
	Name  = "NB_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable Template - NorthBridge support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	Master = Yes
End

TOKEN
	Name  = "PEI_MRC_BASE_MEMORY_TEST_ENABLE"
	Value  = "0"
	Help  = "Enable/Disable Mrc base memory test."
	TokenType = Boolean
	TargetH = Yes
	Range  = "On - Off"
End

TOKEN
	Name  = "NB_TEMPLATE_VER"
	Value  = "0005"
	Help  = "North Bridge Template Version Number.\ DO NOT CHANGE THIS VALUE"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Lock = Yes
End

TOKEN
	Name  = "NB_NUMBER_OF_HOST_BRG"
	Value  = "1"
	Help  = "Provides Number of virtual HOST Bridges within the System.\If System covers more than one PCI segment it will nedd more than one HOST bridge; "
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "ROOT_BRIDGE_COUNT"
	Value  = "1"
	Help  = "Indicates how many root bridges (peer to peer) are in the system."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NB_DEBUG_MESSAGE"
	Value  = "1"
	Help  = "Enables/disables debug message in NB module"
	TokenType = Boolean
	TargetEQU = Yes
	TargetH = Yes
	Token = "DEBUG_MODE" "!=" "0"
End

TOKEN
	Name  = "INCLUDE_NB_ASM_FILE_IN_SEC"
	Value  = "1"
	Help  = "Includes an ASM file and an eLink in SEC build process for NB code modification:"
	TokenType = Boolean
End

TOKEN
	Name  = "ENABLE_NB_DMI_GEN2_IN_SEC"
	Value  = "0"
	Help  = "Enabel an NB DMI GEN2 in SEC program."
	TokenType = Boolean
	TargetEQU = Yes
End

TOKEN
	Name  = "NB_IGFX_FORCE_DISABLE_SUPPORT"
	Value  = "0"
	Help  = "Enable/Disable IGfx Fource Disable Support."
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "RC_PEG_0"
	Value  = "1"
	Help  = "Set to 'On' if PEG Port #0  phisically enabled and connected on the board"
	TokenType = Boolean
	TargetH = Yes
	Range  = "On - Off"
End

TOKEN
	Name  = "RC_PEG_1"
	Value  = "1"
	Help  = "Set to 'On' if PEG Port #1  phisically enabled and connected on the board"
	TokenType = Boolean
	TargetH = Yes
	Range  = "On - Off"
	Token = "RC_PEG_0" "=" "1"
End

TOKEN
	Name  = "RC_PEG_2"
	Value  = "1"
	Help  = "Set to 'On' if PEG Port #2  phisically enabled and connected on the board"
	TokenType = Boolean
	TargetH = Yes
	Range  = "On - Off"
	Token = "RC_PEG_0" "=" "1"
	Token = "RC_PEG_1" "=" "1"
End

TOKEN
	Name  = " "
	TokenType = Integer
End

TOKEN
	Name  = "=============== NB Specific Tokens =============="
	TokenType = Expression
End

TOKEN
	Name  = "TSEG_SIZE"
	Value  = "0x800000"
	Help  = "Size of SMM TSEG area used (in bytes) \Default size 1MB."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "IED_SIZE"
	Value  = "0x400000"
	Help  = "Size of IED region in bytes \Default size 4MB."
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "PCIEX_BASE_ADDRESS"
	Value  = "0xF8000000"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "PEBS"
	Value  = "$(PCIEX_BASE_ADDRESS)"
	TokenType = Integer
	TargetASL = Yes
End

TOKEN
	Name  = "PCIEX_LENGTH"
	Value  = "0x4000000"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Range  = "0x4000000, 0x8000000, 0x10000000"
	Token = "PCIEX_BASE_ADDRESS" "=" "0xF8000000"
End

TOKEN
	Name  = "PCIEX_LENGTH"
	Value  = "0x8000000"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Range  = "0x4000000, 0x8000000, 0x10000000"
	Token = "PCIEX_BASE_ADDRESS" "=" "0xF0000000"
End

TOKEN
	Name  = "PCIEX_LENGTH"
	Value  = "0x10000000"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Range  = "0x4000000, 0x8000000, 0x10000000"
	Token = "PCIEX_BASE_ADDRESS" "=" "0xE0000000"
End

TOKEN
	Name  = "PCIEX_LENGTH_BIT_SETTING"
	Value  = "0x4"
	Help  = "PCI 0:0:0:60 PCIEXBAR bits [2:0] - PCI express size, 0x0 is 256MB, 0x2 is 128MB, 0x4 is 64MB"
	TokenType = Integer
	TargetEQU = Yes
	Token = "PCIEX_LENGTH" "=" "0x04000000"
End

TOKEN
	Name  = "PCIEX_LENGTH_BIT_SETTING"
	Value  = "0x2"
	Help  = "PCI 0:0:0:60 PCIEXBAR bits [2:0] - PCI express size, 0x0 is 256MB, 0x2 is 128MB, 0x4 is 64MB"
	TokenType = Integer
	TargetEQU = Yes
	Token = "PCIEX_LENGTH" "=" "0x08000000"
End

TOKEN
	Name  = "PCIEX_LENGTH_BIT_SETTING"
	Value  = "0x0"
	Help  = "PCI 0:0:0:60 PCIEXBAR bits [2:0] - PCI express size, 0x0 is 256MB, 0x2 is 128MB, 0x4 is 64MB"
	TokenType = Integer
	TargetEQU = Yes
	Token = "PCIEX_LENGTH" "=" "0x10000000"
End

TOKEN
	Name  = "PELN"
	Value  = "$(PCIEX_LENGTH)"
	TokenType = Integer
	TargetASL = Yes
End

TOKEN
	Name  = "PCI_REGISTER_MAX"
	Value  = "4096"
	Help  = "Contains the maximum value of PCI register that can be accessed. \ Enabled only when PCI config memory access is enabled"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
	Token = "PCIEX_BASE_ADDRESS" "!=" "0"
End

TOKEN
	Name  = "PCI_REGISTER_MAX"
	Value  = "256"
	Help  = "Contains the maximum value of PCI register that can be accessed. \ Enabled only when PCI config memory access is disabled"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
	Token = "PCIEX_BASE_ADDRESS" "=" "0"
End

TOKEN
	Name  = "NCPU"
	Value  = "8"
	Help  = "NOTE: If systen has one HT cpu the value has to be 2 and so on...\"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
	Range  = "1- number of cpu in the system "
End

TOKEN
	Name  = "LAPB"
	Value  = "$(LOCAL_APIC_BASE)"
	Help  = "Local APIC Base Address"
	TokenType = Expression
	TargetASL = Yes
End

TOKEN
	Name  = "CPU_MAX_MEMORY_SIZE"
	Value  = "0x100000000"
	Help  = "Maximum memory size addressable by the CPU"
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = "PEI_MIN_MEMORY_SIZE"
	Value  = "0x4000000"
	Help  = "Minimum memory required for PEI currently 64 MB"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "MEMORY_ARRAY_NUM"
	Value  = "1"
	Help  = "No of Memory Array"
	TokenType = Integer
	TargetH = Yes
End

TOKEN
	Name  = "DIMM1_SMBUS_ADDRESS"
	Value  = "0A0h"
	Help  = "DIMM Socket 0 - Channel A"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DIMM2_SMBUS_ADDRESS"
	Value  = "0A2h"
	Help  = "DIMM Socket 1 - Channel A"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DIMM3_SMBUS_ADDRESS"
	Value  = "0A4h"
	Help  = "DIMM Socket 0 - Channel B"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "DIMM4_SMBUS_ADDRESS"
	Value  = "0A6h"
	Help  = "DIMM Socket 1 - Channel B"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NB_EP_BASE_ADDRESS"
	Value  = "0FED19000h"
	Help  = "\(G)MCH Egress Port Base Address (D0:F0:Rx40). 4KB non-Conflicting Address Space Required."
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NB_DERAM_BASE_ADDRESS"
	Value  = "0xFED80000"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NB_GDXC_BASE_ADDRESS"
	Value  = "0xFED84000"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "EGPB"
	Value  = "$(NB_EP_BASE_ADDRESS)"
	TokenType = Integer
	TargetASL = Yes
End

TOKEN
	Name  = "NB_MCH_BASE_ADDRESS"
	Value  = "0FED10000h"
	Help  = "\(G)MCH Memory Mapped Register Range Base Address (D0:F0:Rx48). 16KB non-Conflicting Address Space Required."
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "MCHB"
	Value  = "$(NB_MCH_BASE_ADDRESS)"
	TokenType = Integer
	TargetASL = Yes
End

TOKEN
	Name  = "NB_DMI_BASE_ADDRESS"
	Value  = "0FED18000h"
	Help  = "\Root Complex Register Range Base Address (D0:F0:Rx68). 4KB non-Conflicting Address Space Required."
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NB_VTD_BASE_ADDRESS"
	Value  = "0FED90000h"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "VTD_LENGTH"
	Value  = "0x4000"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "VTBS"
	Value  = "$(NB_VTD_BASE_ADDRESS)"
	TokenType = Integer
	TargetASL = Yes
End

TOKEN
	Name  = "VTLN"
	Value  = "$(VTD_LENGTH)"
	TokenType = Integer
	TargetASL = Yes
End

TOKEN
	Name  = "NB_TEMP_MMIO_BASE"
	Value  = "0xFE800000"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NB_TEMP_MMIO_SIZE"
	Value  = "0x400000"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NB_IOTRAP_SMI_ADDRESSE"
	Value  = "0x2100"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = " "
	TokenType = Integer
End

TOKEN
	Name  = "=============== IGFX Setup data Type Tokens =============="
	TokenType = Expression
End

TOKEN
	Name  = "IGFX_LCD_PANEL_TYPE"
	Value  = "0x80"
	Help  = "IGFX LCD panel type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_LCD_PANEL_SCALING"
	Value  = "0x81"
	Help  = "IGFX LCD panel scaling type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_BOOT_TYPE"
	Value  = "0x82"
	Help  = "IGFX boot type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_BACKLIGHT_TYPE"
	Value  = "0x83"
	Help  = "IGFX Get Inverter Type and Polarity for Backlight type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_LFP_PANEL_COLOR_DEPTH_TYPE"
	Value  = "0x84"
	Help  = "IGFX LFP Panel Color Depth type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_EDP_ACTIVE_LFP_CONFIG_TYPE"
	Value  = "0x85"
	Help  = "IGFX Active LCD flat panel(LFP) config type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_PRIMARY_DISPLAY_TYPE"
	Value  = "0x86"
	Help  = "IGFX Primary Display config type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_DISPLAY_PIPE_B_TYPE"
	Value  = "0x87"
	Help  = "IGFX Display Pipe B device type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = "IGFX_SDVO_PANEL_TYPE"
	Value  = "0x88"
	Help  = "IGFX SDVO Panel type"
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
End

TOKEN
	Name  = " "
	TokenType = Integer
End

TOKEN
	Name  = "=============== CMOS Configuration =============="
	TokenType = Expression
End

TOKEN
	Name  = "NB_CMOS_IFFS_SCRAMBLER_SEED"
	Value  = "0x80"
	Help  = "iFFS scrambler seed use 2 bytes CMOS REG[80 ~ 81]."
	TokenType = Integer
	TargetEQU = Yes
	TargetH = Yes
	Lock = Yes
End

TOKEN
	Name  = " "
	TokenType = Integer
End

TOKEN
	Name  = "====== UEFI based Configuration ======"
	TokenType = Expression
End

TOKEN
	Name  = "OFFSET_14"
	Value  = "15"
	Help  = "Offset 0 based in UEFI 2.1 and 1 based in UEFI 2.0"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" "<=" "0x20000"
End

TOKEN
	Name  = "OFFSET_14"
	Value  = "14"
	Help  = "Offset 0 based in UEFI 2.1 and 1 based in UEFI 2.0"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" ">" "0x20000"
End

TOKEN
	Name  = "OFFSET_15"
	Value  = "16"
	Help  = "Offset 0 based in UEFI 2.1 and 1 based in UEFI 2.0"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" "<=" "0x20000"
End

TOKEN
	Name  = "OFFSET_15"
	Value  = "15"
	Help  = "Offset 0 based in UEFI 2.1 and 1 based in UEFI 2.0"
	TokenType = Integer
	TargetMAK = Yes
	TargetH = Yes
	Token = "EFI_SPECIFICATION_VERSION" ">" "0x20000"
End

TOKEN
	Name  = " "
	TokenType = Integer
End

TOKEN
	Name  = "=============== NB PCI DEVICES SSID TABLE =============="
	TokenType = Expression
End

TOKEN
	Name  = "NB_PCI_DEVICES_SSID_TABLE"
	Value  = "{NB_BUS_DEV_FUN, -1}, {NB_IGD_BUS_DEV_FUN, -1}, {NB_IGD_BUS_DEV_FUN1, -1}, {NB_HDA_BUS_DEV_FUN, -1}, {NB_PCIEBRNx16_BUS_DEV_FUN, -1}, {NB_PCIEBRNx8_BUS_DEV_FUN, -1}, {NB_PCIEBRNx4_BUS_DEV_FUN, -1}"
	Help  = "List of PCI device's Sub-System ID in the following format:\{Device#1 Bus/Device/Function, Device#1 Sub-ID}, {Device#2 Bus/Device/Function, Device#2 Sub-ID}...\The format of the PCI bus/device/function is followed by EFI_PCI_CONFIGURATION_ADDRESS.\If the value of Sub-ID is -1, that means BIOS will use PCI Vendor-ID and Device-ID instead.\The last structure {-1, -1} is end of the table, don't remove it!"
	TokenType = Expression
	TargetH = Yes
End

TOKEN
	Name  = " "
	TokenType = Integer
End

TOKEN
	Name  = "=============== PCH SKU LPC Device ID for NB HIDE IGFX =============="
	TokenType = Expression
End

TOKEN
	Name  = "NBCSPLib"
	Value  = "$$(LIB_BUILD_DIR)\AmiNbCSPLib.lib"
	TokenType = Expression
	TargetMAK = Yes
End

TOKEN
	Name  = "=============== SHADOW RAM SETTING =============="
	TokenType = Expression
End

TOKEN
	Name  = "NB_F0000_PAM0"
	Value  = "0"
	TokenType = Integer
        TargetH = Yes
        Range  = "0 - 3"
        Help  = "0: Didable. 1: Read Only. 2: Write Only. 3: R/W Enable."
End

TOKEN
	Name  = "NB_E0000_PAM5"
	Value  = "0"
	TokenType = Integer
        TargetH = Yes
        Range  = "0 - 3"
        Help  = "0: Didable. 1: Read Only. 2: Write Only. 3: R/W Enable."
End

TOKEN
	Name  = "NB_E8000_PAM6"
	Value  = "0"
	TokenType = Integer
        TargetH = Yes
        Range  = "0 - 3"
        Help  = "0: Didable. 1: Read Only. 2: Write Only. 3: R/W Enable."
End

TOKEN
	Name  = "=============== SG GPIO Support =============="
	TokenType = Expression
End

TOKEN
	Name  = "SG_GPIO_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable GpioSupport for SG. 1: TRUE 0:FALSE"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
        TargetH = Yes
End

TOKEN
	Name  = " "
	TokenType = Expression
End

PATH
	Name  = "NB_BOARD_DIR"
	Path  = "Board\NB"
End

PATH
	Name  = "NB_CHIPSET_DIR"
	Path  = "Chipset\NB"
End

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

ELINK
	Name  = "/D DIMM_SLOT_NUM=4"
	Parent  = "CFLAGS"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(MEM_INIT_FV_BB)"
	Parent  = "FV_BB"
	InvokeOrder = BeforeParent
End

ELINK
	Name  = "$(NB_CHIPSET_DIR)\NB.asl"
	Parent  = "INTEL_GENERIC_ASL"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "\_SB.PCI0.NPTS(Arg0)"
	Parent  = "ASL_PTS"
	Help  = "Include North Bridge Specific Function at PTS.\Arg0 is a sleep state the System is targeted for."
	InvokeOrder = AfterParent
End

ELINK
	Name  = "\_SB.PCI0.NWAK(Arg0)"
	Parent  = "ASL_WAK"
	Help  = "Include North Bridge Specific Function at WAK.\Arg0 is a sleep state the System is resuming from. "
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/I$(NB_BOARD_DIR)"
	Parent  = "$(GLOBAL_DEFINES)"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/I$(NB_CHIPSET_DIR)"
	Parent  = "$(GLOBAL_DEFINES)"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "SECNB_EarlyInit"
	Parent  = "GainestownSecRcEntry"
	Help  = "NB Early Init in SEC (before Cache as memory enabling)"
	SrcFile  = "Board\NB\NBSECInit.ASM"
	Token = "INCLUDE_NB_ASM_FILE_IN_SEC" "=" "1"
	InvokeOrder = BeforeParent
End

ELINK
	Name  = "$(BUILD_DIR)\NBPEI.ffs"
	Parent  = "FV_BB"
	Help  = "Template NB PEI component"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(BUILD_DIR)\NBDXE.ffs"
	Parent  = "FV_MAIN"
	Help  = "Template NB DXE component"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/D PLATFORM_PCIEX_BASE_ADDRESS=$(PCIEX_BASE_ADDRESS)"
	Parent  = "CFLAGS"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/D EDKII_GLUE_PciExpressBaseAddress=$(PCIEX_BASE_ADDRESS)"
	Parent  = "CFLAGS"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/D PLATFORM_PCIEX_LENGTH=$(PCIEX_LENGTH)"
	Parent  = "CFLAGS"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(BUILD_DIR)\NBSECInit.OBJ"
	Parent  = "ADDON_SEC_CORE_OBJ_FILES"
	Token = "INCLUDE_NB_ASM_FILE_IN_SEC" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "NBINT15"
	Parent  = "CsmOemInterrupts"
	ProcID  = 015h
	SrcFile  = "$(NB_BOARD_DIR)\nbint15.asm"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(BUILD_DIR)\nbint15.obj"
	Parent  = "CSM_OEMINT_OBJS"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(NB_BOARD_DIR)\Nb.ssp"
	Parent  = "ADDON_SSP_FILES"
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "NbAcpiEnabled,"
	Parent  = "AcpiEnableCallbackList"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "NbAcpiDisabled,"
	Parent  = "AcpiDisableCallbackList"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "NbRuntimeShadowRamWrite,"
	Parent  = "RuntimeShadowRamWrite"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "CheckPeiFvCopyToRam,"
	Parent  = "PeiRamBootList"
	Token = "PeiRamBootSupport" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "NBGetPlatformHandle,"
	Parent  = "CSM_GET_PLATFORM_HANDLE_FUNCTIONS"
	Token = "CSM_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OEM_PCI_DEVICE_CALLBACK(0, 0, NBProtectedPciDevice),"
	Parent  = "OEM_SKIP_PCI_DEVICE"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OEM_PCI_DEVICE_CALLBACK(0, 0, NBProgramPciDevice),"
	Parent  = "OEM_PROGRAM_PCI_DEVICE"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OEM_PCI_DEVICE_CALLBACK(0, 0, NBUpdatePciDeviceAttributes),"
	Parent  = "OEM_PCI_ATTRIBUTES"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "MEM_INIT_FV_BB"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "NbConfigurationList"
	InvokeOrder = ReplaceParent
End

ELINK   # [ EIP221317 ]
    Name  = '{L"MrcS3Resume", {0x87f22dcb, 0x7304, 0x4105, 0xbb, 0x7c, 0x31, 0x71, 0x43, 0xcc, 0xc2, 0x3b}},'
    Parent  = "BLOCKED_S3_VAR_LIST"
    InvokeOrder = AfterParent
End

ELINK   # [ EIP221317 ]
    Name  = '{L"PegGen3PresetSearchData", {0xe1e2a446, 0x365, 0x4c65,  0x91, 0x9c, 0x03, 0x71, 0xc3, 0xf9, 0xf5, 0xff}},'
    Parent  = "BLOCKED_S3_VAR_LIST"
    InvokeOrder = AfterParent
End

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