aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/intel/fsp1_1/Kconfig
blob: a6d34eef6fbde5ff42634f0759bb7f90076d6922 (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
##
## This file is part of the coreboot project.
##
## Copyright (C) 2014 Sage Electronic Engineering, LLC.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; version 2 of the License.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc.
##

comment "Intel FSP"

config PLATFORM_USES_FSP1_1
	bool "Use Intel Firmware Support Package"
	help
	  Does the code require the Intel Firmware Support Package?

if PLATFORM_USES_FSP1_1

config DCACHE_RAM_BASE
	hex
	default 0xfef00000

config DCACHE_RAM_SIZE
	hex
	default 0x4000

config HAVE_FSP_BIN
	bool "Should the Intel FSP binary be added to the flash image"
	help
	  Select this option to add an Intel FSP binary to
	  the resulting coreboot image.

	  Note: Without this binary, coreboot builds relying on the FSP
	  will not boot

if HAVE_FSP_BIN

config CPU_MICROCODE_CBFS_LEN
	hex "Microcode update region length in bytes"
	default 0
	help
	  The length in bytes of the microcode update region.

config CPU_MICROCODE_CBFS_LOC
	hex "Microcode update base address in CBFS"
	default 0
	help
	  The location (base address) in CBFS that contains the microcode update
	  binary.

config ENABLE_MRC_CACHE
	bool
	default y if HAVE_ACPI_RESUME
	default n
	help
	  Enabling this feature will cause MRC data to be cached in NV storage.
	  This can either be used for fast boot, or just because the FSP wants
	  it to be saved.

config FSP_FILE
	string "Intel FSP binary path and filename"
	help
	  The path and filename of the Intel FSP binary for this platform.

config FSP_IMAGE_ID_DWORD0
	hex "First 4 bytes of 8 byte platform string"
	help
	  The first four bytes of the eight byte platform specific string
	  used to identify the FSP binary that should be used.

config FSP_IMAGE_ID_DWORD1
	hex "Second 4 bytes of 8 byte platform string"
	help
	  The second four bytes of the eight byte platform specific string
	  used to identify the FSP binary that should be used.

config FSP_INCLUDE_PATH
	string "Path for FSP specific include files"
	help
	  The path and filename of the Intel FSP binary for this platform.

config FSP_LOC
	hex "Intel FSP Binary location in CBFS"
	help
	  The location in CBFS that the FSP is located. This must match the
	  value that is set in the FSP binary.  If the FSP needs to be moved,
	  rebase the FSP with Intel's BCT (tool).

config MRC_CACHE_FILE
	string "File containing the cached MRC values"
	help
	  The path and filename of the cached MRC values.

config MRC_CACHE_LOC
	hex "Fast Boot Data Cache location in CBFS"
	default MRC_CACHE_LOC_OVERRIDE if OVERRIDE_CACHE_CACHE_LOC
	default 0xfff50000
	depends on ENABLE_MRC_CACHE
	help
	  The location in CBFS for the MRC data to be cached.

	  WARNING: This should be on a sector boundary of the BIOS ROM chip
	  and nothing else should be included in that sector, or IT WILL BE
	  ERASED.

config MRC_CACHE_LOC_OVERRIDE
	hex
	help
	  Sets the override CBFS location of the MRC/fast boot cache.

config MRC_CACHE_SIZE
	hex "Fast Boot Data Cache Size"
	default 0x10000
	depends on ENABLE_MRC_CACHE
	help
	  This is the amount of space in NV storage that is reserved for the
	  fast boot data cache storage.

	  WARNING: Because this area will be erased and re-written, the size
	  should be a full sector of the flash ROM chip and nothing else should
	  be included in CBFS in any sector that the fast boot cache data is in.

config OVERRIDE_CACHE_CACHE_LOC
	bool
	help
	  Selected by the platform to set a new default location for the
	  MRC/fast boot cache.

config VIRTUAL_ROM_SIZE
	hex "Virtual ROM Size"
	default ROM_SIZE
	depends on ENABLE_MRC_CACHE
	help
	  This is used to calculate the offset of the MRC data cache in NV
	  Storage for fast boot.  If in doubt, leave this set to the default
	  which sets the virtual size equal to the ROM size.

	  Example: Cougar Canyon 2 has two 8 MB SPI ROMs.  When the SPI ROMs are
	  loaded with a 4 MB coreboot image, the virtual ROM size is 8 MB.  When
	  the SPI ROMs are loaded with an 8 MB coreboot image, the virtual ROM
	  size is 16 MB.

endif #HAVE_FSP_BIN

config CACHE_ROM_SIZE_OVERRIDE
	hex "Cache ROM Size"
	default CBFS_SIZE
	help
	  This is the size of the cachable area that is passed into the FSP in
	  the early initialization.  Typically this should be the size of the
	  CBFS area, but the size must be a power of 2 whereas the CBFS size
	  does not have this limitation.

config DISPLAY_FAST_BOOT_DATA
	bool "Display fast boot data"
	default n

config DISPLAY_HOBS
	bool "Display hand-off-blocks (HOBs)"
	default n

config DISPLAY_VBT
	bool "Display Video BIOS Table (VBT)"
	default n

config DISPLAY_FSP_ENTRY_POINTS
	bool "Display FSP entry points"
	default n

config DISPLAY_UPD_DATA
	bool "Display UPD data"
	default n
	help
	  Display the user specified product data prior to memory
	  initialization.

config FSP_USES_UPD
	bool
	default n
	help
	  If this FSP uses UPD/VPD data regions, select this in the chipset
	  Kconfig.

config GOP_SUPPORT
	bool "Enable GOP support"
	default y

config USE_GENERIC_FSP_CAR_INC
	bool
	default n
	help
	  The chipset can select this to use a generic cache_as_ram.inc file
	  that should be good for all FSP based platforms.

config VBT_FILE
	string "GOP Video BIOS table binary path"
	depends on GOP_SUPPORT
	default "3rdparty/mainboard/$(MAINBOARDDIR)/vbt.bin"

endif #PLATFORM_USES_FSP1_1