blob: 4b15c7bb9aae3caa1312f61df9d76e67069d0b2e [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
Aaron Durbin76c37002012-10-30 09:03:43 -050038config CACHE_MRC_SIZE_KB
39 int
40 default 512
41
42# FIXME: build from rom size
43config MRC_CACHE_BASE
44 hex
45 default 0xff800000
46
47config MRC_CACHE_LOCATION
48 hex
49 depends on !CHROMEOS
50 default 0x370000
51
52config MRC_CACHE_SIZE
53 hex
54 depends on !CHROMEOS
55 default 0x10000
56
57config DCACHE_RAM_BASE
58 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060059 default 0xff7c0000
Aaron Durbin76c37002012-10-30 09:03:43 -050060
61config DCACHE_RAM_SIZE
62 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060063 default 0x10000
64 help
65 The size of the cache-as-ram region required during bootblock
66 and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE
67 must add up to a power of 2.
Aaron Durbin76c37002012-10-30 09:03:43 -050068
69config DCACHE_RAM_MRC_VAR_SIZE
70 hex
Aaron Durbin3d0071b2013-01-18 14:32:50 -060071 default 0x30000
72 help
73 The amount of cache-as-ram region required by the reference code.
74
75config DCACHE_RAM_ROMSTAGE_STACK_SIZE
76 hex
77 default 0x2000
78 help
79 The amount of anticipated stack usage from the data cache
80 during pre-ram rom stage execution.
Aaron Durbin76c37002012-10-30 09:03:43 -050081
Aaron Durbin76c37002012-10-30 09:03:43 -050082config HAVE_MRC
83 bool "Add a System Agent binary"
84 help
85 Select this option to add a System Agent binary to
86 the resulting coreboot image.
87
88 Note: Without this binary coreboot will not work
89
90config MRC_FILE
91 string "Intel System Agent path and filename"
92 depends on HAVE_MRC
93 default "mrc.bin"
94 help
95 The path and filename of the file to use as System Agent
96 binary.
97
98config CBFS_SIZE
99 hex "Size of CBFS filesystem in ROM"
100 default 0x100000
101 help
102 On Haswell systems the firmware image has to store a lot more
103 than just coreboot, including:
104 - a firmware descriptor
105 - Intel Management Engine firmware
106 - MRC cache information
107 This option allows to limit the size of the CBFS portion in the
108 firmware image.
109
110endif