blob: 72ea08021f43130b5b16b836c684ace6337901e4 [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
Aaron Durbin76c37002012-10-30 09:03:43 -050027
28if NORTHBRIDGE_INTEL_HASWELL
29
Aaron Durbin6d04f0f2012-10-31 22:57:16 -050030config BOOTBLOCK_NORTHBRIDGE_INIT
31 string
32 default "northbridge/intel/haswell/bootblock.c"
33
Aaron Durbin76c37002012-10-30 09:03:43 -050034config VGA_BIOS_ID
35 string
36 default "8086,0166"
37
38config EXTERNAL_MRC_BLOB
39 bool
40 default n
41
42config CACHE_MRC_SIZE_KB
43 int
44 default 512
45
46# FIXME: build from rom size
47config MRC_CACHE_BASE
48 hex
49 default 0xff800000
50
51config MRC_CACHE_LOCATION
52 hex
53 depends on !CHROMEOS
54 default 0x370000
55
56config MRC_CACHE_SIZE
57 hex
58 depends on !CHROMEOS
59 default 0x10000
60
61config DCACHE_RAM_BASE
62 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060063 default 0xff7c0000
Aaron Durbin76c37002012-10-30 09:03:43 -050064
65config DCACHE_RAM_SIZE
66 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060067 default 0x10000
68 help
69 The size of the cache-as-ram region required during bootblock
70 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
71 must add up to a power of 2.
Aaron Durbin76c37002012-10-30 09:03:43 -050072
73config DCACHE_RAM_MRC_VAR_SIZE
74 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060075 default 0x30000
76 help
77 The amount of cache-as-ram region required by the reference code.
78
79config DCACHE_RAM_ROMSTAGE_STACK_SIZE
80 hex
81 default 0x2000
82 help
83 The amount of anticipated stack usage from the data cache
84 during pre-ram rom stage execution.
Aaron Durbin76c37002012-10-30 09:03:43 -050085
Aaron Durbin76c37002012-10-30 09:03:43 -050086config HAVE_MRC
87 bool "Add a System Agent binary"
88 help
89 Select this option to add a System Agent binary to
90 the resulting coreboot image.
91
92 Note: Without this binary coreboot will not work
93
94config MRC_FILE
95 string "Intel System Agent path and filename"
96 depends on HAVE_MRC
97 default "mrc.bin"
98 help
99 The path and filename of the file to use as System Agent
100 binary.
101
102config CBFS_SIZE
103 hex "Size of CBFS filesystem in ROM"
104 default 0x100000
105 help
106 On Haswell systems the firmware image has to store a lot more
107 than just coreboot, including:
108 - a firmware descriptor
109 - Intel Management Engine firmware
110 - MRC cache information
111 This option allows to limit the size of the CBFS portion in the
112 firmware image.
113
114endif