summaryrefslogtreecommitdiff
path: root/Board/EM/AmiGopPolicy/AmiGopPolicy.sdl
blob: 61cbe3932234647df815d760019fc7df0e357f46 (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
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (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/AmiGopPolicy/AmiGopPolicy.sdl 5     12/18/12 11:02p Josephlin $
#
# $Revision: 5 $
#
# $Date: 12/18/12 11:02p $
#**********************************************************************
# Revision History
# ----------------
# $Log: /Alaska/SOURCE/Modules/AmiGopPolicy/AmiGopPolicy.sdl $
# 
# 5     12/18/12 11:02p Josephlin
# [TAG]  		EIP108311
# [Category]  	Improvement
# [Description]  	Create eLINK "OemGopEdidOverrideGetEdidList" for easy
# to implement EdidOverrideProtocol in project.
# [Files]  		AmiGopPolicy.c
# AmiGopPolicy.sdl
# AmiGopPolicy.mak
# AmiGopPolicyLib.c
# 
# 4     7/26/12 7:30a Josephlin
# Update File Header.
# 
# 3     7/25/12 5:29a Josephlin
# [TAG]  		EIP93957
# [Category]  	Improvement
# [Description]  	Added ELINK for sd and uni file overriding. This would
# be more flexible then we are using token.
# [Files]  		AmiGopPolicy.sdl
# 
# 2     7/23/12 3:32a Josephlin
# 1. Added input argument SetupData for eLink OemGopSwitchHookList.
# 2. Created token "AmiGopPolicySetupFile" and "AmiGopPolicySetupString"
# for override sd and uni file.
# 3. Rename AmiGopPolicyCallback to AmiGopSwitchCallback in case user
# confuse.
# 
# 1     6/29/12 3:44a Josephlin
# [TAG]  		EIP91970
# [Category]  	New Feature
# [Description]  	Initial Release for Display Switch with UEFI GOP driver
# support.
# [Files]  		AmiGopPolicy.cif
# AmiGopPolicy.c
# AmiGopPolicy.h
# AmiGopPolicy.mak
# AmiGopPolicy.sd
# AmiGopPolicy.sdl
# AmiGopPolicy.uni
# AmiGopPolicyLib.c
# AmiGopPolicySetup.c
# 
#**********************************************************************
#<AMI_FHDR_START>
#
# Name:         AmiGopPolicy.sdl
#
# Description:	AmiGopPolicy parameters file.
#
#<AMI_FHDR_END>
#**********************************************************************

TOKEN
	Name  = "AmiGopPolicy"
	Value  = "1"
	Help  = "Main Switch to Enable AmiGopPolicy in Platform"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	Master = Yes
End

TOKEN
	Name  = "OEM_EDID_OVERRIDE_PROTOCOL_SUPPORT"
	Value  = "0"
	Help  = "If set, Include EDID Override Protocol support in Project."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "AmiGopPolicySetupData"
	Value  = "$(AMI_GOP_POLICY_SD_FILE)"
	TokenType = File
	TargetMAK = Yes
End

TOKEN
	Name  = "AmiGopPolicySetupString"
	Value  = "$(AMI_GOP_POLICY_UNI_FILE)"
	TokenType = File
	TargetMAK = Yes
End

PATH
	Name  = "AMIGOPPOLICY_DIR"
End

MODULE
	File  = "AmiGopPolicy.mak"
End

ELINK
	Name  = "AMI_GOP_POLICY_SD_FILE"
	Help  = "AmiGopPolicy Setup Data file. Note: This eLink only permit to include one file."
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AMI_GOP_POLICY_UNI_FILE"
	Help  = "AmiGopPolicy Setup Data file. Note: This eLink only permit to include one file."
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "$(AMIGOPPOLICY_DIR)\AmiGopPolicy.sd"
	Parent  = "AMI_GOP_POLICY_SD_FILE"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(AMIGOPPOLICY_DIR)\AmiGopPolicy.uni"
	Parent  = "AMI_GOP_POLICY_UNI_FILE"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "ConnectAmiGopPolicyConOut,"
	Parent  = "ConnectVgaConOut,"
	InvokeOrder = BeforeParent
End

ELINK
	Name  = "$(BUILD_DIR)\AmiGopPolicy.sdb"
	Parent  = "SETUP_SDBS"
    Priority  = 90
	InvokeOrder = AfterParent
End

ELINK
	Name  = "$(AmiGopPolicySetupData)"
	Parent  = "SETUP_DEFINITIONS"
    Priority  = 90
	InvokeOrder = AfterParent
End

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

ELINK
	Name  = "AmiGopPolicyEntryPoint,"
	Parent  = "BdsEntryInitialize"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OemGopDeviceCheckList"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AmiDefaultGopDeviceCheck,"
	Parent  = "OemGopDeviceCheckList"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OemGopSwitchHookList"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AmiDefaultGopSwitchFunction,"
	Parent  = "OemGopSwitchHookList"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "OemGopEdidOverrideGetEdidList"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "AmiDefaultGopEdidOverrideGetEdid,"
	Parent  = "OemGopEdidOverrideGetEdidList"
	Token  = "OEM_EDID_OVERRIDE_PROTOCOL_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_0,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_1,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_2,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_3,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_4,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_5,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_6,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    InvokeOrder = AfterParent
End

ELINK
    Name = "ITEM_CALLBACK(ADVANCED_FORM_SET_CLASS,0,AGP_KEY_7,AmiGopSwitchCallback),"
    Parent = "SetupItemCallbacks"
    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                      **
#**                                                                  **
#**********************************************************************
#**********************************************************************