summaryrefslogtreecommitdiff
path: root/Board/EM/RapidStartWrapper/RapidStartWrapper.sdl
blob: dad40ea8142773f6aa94e346894af09da3fcac84 (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
#**********************************************************************
#**********************************************************************
#**                                                                  **
#**        (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/Intel Fast Flash Standby/iRST_SharkBay/RapidStartWrapper/RapidStartWrapper.sdl 3     4/15/13 2:33a Bensonlai $
#
# $Revision: 3 $
#
# $Date: 4/15/13 2:33a $
#**********************************************************************
# Revision History
# ----------------
# $Log: /Alaska/SOURCE/Modules/Intel Fast Flash Standby/iRST_SharkBay/RapidStartWrapper/RapidStartWrapper.sdl $
# 
# 3     4/15/13 2:33a Bensonlai
# [TAG]  		None
# [Category]  	Bug Fix
# [Severity]  	Important
# [Symptom]  	If users change any item from driver then restore to boot
# setting, our SMI can't distinguish between user's and driver's event.
# [RootCause]  	It's an Intel driver issue.
# [Solution]  	1. Removing the sync up with Rapid Start driver and BIOS
# variable as default.
# 2. Remove our BIOS workaround.
# [Files]  		RapidStartWrapperSmm.sdl, RapidStartWrapperSmm.h,
# RapidStartWrapperSmm.sdl, RapidStartWrapperAcpiTables.sdl,
# RapidStartWrapper.sdl
# 
# 2     3/21/13 5:49a Bensonlai
# [TAG]  		EIP118812
# [Category]  	Bug Fix
# [Severity]  	Critical
# [Symptom]  	Intel Rapid Start Technology issue on Sharkbay platform
# [RootCause]  	FFS_NV_CONFIG_REG(0x47) didn't define to CMOS Manager.
# [Solution]  	FFS_NV_CONFIG_REG(0x47) define to CMOS Manager.
# [Files]  		RapidStart.ssp, RapidStartWrapper.sdl
# 
# 1     10/15/12 4:39a Bensonlai
# [TAG]  		None
# [Category]  	Improvement
# [Description]  	[Category] Improvement
# [Severity] Important
# [Description] Rename all IFFS sting to Rapid Start.
# [Files] Board\EM\RapidStartWrapper\*.*, ReferenceCode\RapidStart\*.*
# 
# [Files]  		RapidStartWrapper.cif
# RapidStartWrapper.sdl
# RapidStart.ssp
# Include\Mbr.h
# Include\UefiGpt.h
#
#**********************************************************************
#<AMI_FHDR_START>
#
# Name: RapidStartWrapper.sdl
#
# Description: SDL file for the RapidStartWrapper.
#
#<AMI_FHDR_END>
#**********************************************************************

TOKEN
	Name  = "RapidStartWrapper_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable RapidStartWrapper support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	Master = Yes
End

TOKEN
	Name  = "FFS_NV_CONFIG_REG"
	Value  = "0x47"
	Help  = "Save CMOS RapidStartFlag REG"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
        Lock = Yes
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
End

TOKEN
	Name  = "FFS_NV_FLAG_REG"
	Value  = "0x88"
	Help  = "Save CMOS RapidStartFlag REG"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
        Lock = Yes
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
End

TOKEN
	Name  = "iFFS_CBTH_DATA_REG"
	Value  = "0x89"
	Help  = "Save critical battery threshole value"
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Lock = Yes
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
End

TOKEN
	Name  = "iFFS_SMRAM_HASH_WORD0"
	Value  = "0xA0"
	Help  = "Save SMRAM hash value."
	TokenType = Integer
	TargetEQU = Yes
	TargetMAK = Yes
	TargetH = Yes
	Lock = Yes
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
End

TOKEN
	Name  = "LOCK_DISABLE_RAPID_START_IF_NO_SSD"
	Value  = "0"
	Help  = "Lock and disable Rapid Start if no SSD found."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "SYNC_UP_DRIVER_AND_BIOS_VARIABLE"
	Value  = "0"
	Help  = "If you set the token to 1, please modify the register key(SkipRestoreSettingOnExit) to 1 for Rapid Start driver in Setup.if2"
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "RAPID_START_PARTITION_DETECT_MODE"
	Value  = "1"
	Help  = "0: Detect Rapid Start Partition in ReadyToBoot phase(Intel RC original).\1: Detect Rapid Start partition after BDS_ALL_DRIVERS_CONNECTED_PROTOCOL_GUID to be installed."
	TokenType = Boolean
	TargetH = Yes
End

PATH
	Name  = "RapidStartWrapper_DIR"
End

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

ELINK
	Name  = "/D FFS_NV_CONFIG_REG=$(FFS_NV_CONFIG_REG)"
	Parent  = "CFLAGS"
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/D FFS_NV_FLAG_REG=$(FFS_NV_FLAG_REG)"
	Parent  = "CFLAGS"
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/D FFS_CBTH_DATA_REG=$(iFFS_CBTH_DATA_REG)"
	Parent  = "CFLAGS"
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/D FFS_SMRAM_HASH_DATA_REG=$(iFFS_SMRAM_HASH_WORD0)"
	Parent  = "CFLAGS"
	Token = "CMOS_MANAGER_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/I$(RapidStartWrapper_DIR)\Include"
	Parent  = "RAPIDSTART_INCLUDES"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "/D RAPID_START_PARTITION_DETECT_BEFORE_SETUP"
	Parent  = "GLOBAL_DEFINES"
	InvokeOrder = AfterParent
	Token = "RAPID_START_PARTITION_DETECT_MODE" "=" "1"
End

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