blob: 44ee71877da6defc7db055d5c73cbcf0c187746c [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001##
2## This file is part of the coreboot project.
3##
4## Copyright (C) 2010 Google Inc.
5##
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; version 2 of the License.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18##
19
20config NORTHBRIDGE_INTEL_HASWELL
21 bool
22 select CACHE_MRC_BIN
23 select CPU_INTEL_HASWELL
24 select REQUIRES_BLOB
Kyösti Mälkki15c4ab72013-07-02 11:37:35 +030025 select MMCONF_SUPPORT
Aaron Durbin6d04f0f2012-10-31 22:57:16 -050026 select MMCONF_SUPPORT_DEFAULT
Furquan Shaikh77f48cd2013-08-19 10:16:50 -070027 select INTEL_DDI
28 select INTEL_DP
Aaron Durbin76c37002012-10-30 09:03:43 -050029
30if NORTHBRIDGE_INTEL_HASWELL
31
Aaron Durbin6d04f0f2012-10-31 22:57:16 -050032config BOOTBLOCK_NORTHBRIDGE_INIT
33 string
34 default "northbridge/intel/haswell/bootblock.c"
35
Aaron Durbin76c37002012-10-30 09:03:43 -050036config VGA_BIOS_ID
37 string
38 default "8086,0166"
39
Aaron Durbin76c37002012-10-30 09:03:43 -050040config CACHE_MRC_SIZE_KB
41 int
42 default 512
43
44# FIXME: build from rom size
45config MRC_CACHE_BASE
46 hex
47 default 0xff800000
48
49config MRC_CACHE_LOCATION
50 hex
51 depends on !CHROMEOS
52 default 0x370000
53
54config MRC_CACHE_SIZE
55 hex
56 depends on !CHROMEOS
57 default 0x10000
58
59config DCACHE_RAM_BASE
60 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060061 default 0xff7c0000
Aaron Durbin76c37002012-10-30 09:03:43 -050062
63config DCACHE_RAM_SIZE
64 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060065 default 0x10000
66 help
67 The size of the cache-as-ram region required during bootblock
68 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
69 must add up to a power of 2.
Aaron Durbin76c37002012-10-30 09:03:43 -050070
71config DCACHE_RAM_MRC_VAR_SIZE
72 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060073 default 0x30000
74 help
75 The amount of cache-as-ram region required by the reference code.
76
77config DCACHE_RAM_ROMSTAGE_STACK_SIZE
78 hex
79 default 0x2000
80 help
81 The amount of anticipated stack usage from the data cache
82 during pre-ram rom stage execution.
Aaron Durbin76c37002012-10-30 09:03:43 -050083
Aaron Durbin76c37002012-10-30 09:03:43 -050084config HAVE_MRC
85 bool "Add a System Agent binary"
86 help
87 Select this option to add a System Agent binary to
88 the resulting coreboot image.
89
90 Note: Without this binary coreboot will not work
91
92config MRC_FILE
93 string "Intel System Agent path and filename"
94 depends on HAVE_MRC
95 default "mrc.bin"
96 help
97 The path and filename of the file to use as System Agent
98 binary.
99
100config CBFS_SIZE
101 hex "Size of CBFS filesystem in ROM"
102 default 0x100000
103 help
104 On Haswell systems the firmware image has to store a lot more
105 than just coreboot, including:
106 - a firmware descriptor
107 - Intel Management Engine firmware
108 - MRC cache information
109 This option allows to limit the size of the CBFS portion in the
110 firmware image.
111
Stefan Reinauerf1aabec2014-01-22 15:16:30 -0800112config PRE_GRAPHICS_DELAY
Stefan Reinauer7034b9e2014-02-11 16:18:07 -0800113 int "Graphics initialization delay in ms"
Stefan Reinauerf1aabec2014-01-22 15:16:30 -0800114 default 0
115 help
116 On some systems, coreboot boots so fast that connected monitors
117 (mostly TVs) won't be able to wake up fast enough to talk to the
118 VBIOS. On those systems we need to wait for a bit before executing
119 the VBIOS.
120
Aaron Durbin76c37002012-10-30 09:03:43 -0500121endif