blob: cccc09ed727bbbcc94ac681a231a6c5a83334890 [file] [log] [blame]
Stefan Reinauer00636b02012-04-04 00:08:51 +02001##
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
Paul Menzela46a7122013-02-23 18:37:27 +010017## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Stefan Reinauer00636b02012-04-04 00:08:51 +020018##
19
20config NORTHBRIDGE_INTEL_SANDYBRIDGE
21 bool
22 select CACHE_MRC_BIN
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030023 select MMCONF_SUPPORT
24 select MMCONF_SUPPORT_DEFAULT
Kyösti Mälkkid9cf38f2014-06-13 11:07:34 +030025 select DYNAMIC_CBMEM
Stefan Reinauer00636b02012-04-04 00:08:51 +020026 select CPU_INTEL_MODEL_206AX
27
28config NORTHBRIDGE_INTEL_IVYBRIDGE
29 bool
30 select CACHE_MRC_BIN
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030031 select MMCONF_SUPPORT
32 select MMCONF_SUPPORT_DEFAULT
Kyösti Mälkkid9cf38f2014-06-13 11:07:34 +030033 select DYNAMIC_CBMEM
Stefan Reinauer00636b02012-04-04 00:08:51 +020034 select CPU_INTEL_MODEL_306AX
35
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020036config NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
37 bool
38 select CACHE_MRC_BIN
39 select MMCONF_SUPPORT
40 select MMCONF_SUPPORT_DEFAULT
41 select CPU_INTEL_MODEL_306AX
42 select HAVE_DEBUG_RAM_SETUP
43
44if NORTHBRIDGE_INTEL_SANDYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020045
46config VGA_BIOS_ID
47 string
48 default "8086,0106"
49
50config CACHE_MRC_SIZE_KB
51 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020052 default 512
53
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010054config IVYBRIDGE_LVDS
55 bool
56 default n
57
Stefan Reinauer48214892012-06-06 13:24:32 -070058config MRC_CACHE_SIZE
59 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070060 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070061 default 0x10000
62
Stefan Reinauer00636b02012-04-04 00:08:51 +020063config DCACHE_RAM_BASE
64 hex
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020065 default 0xff7e0000 if !NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
66 default 0xfefe0000 if NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020067
68config DCACHE_RAM_SIZE
69 hex
70 default 0x20000
71
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030072config BOOTBLOCK_NORTHBRIDGE_INIT
73 string
74 default "northbridge/intel/sandybridge/bootblock.c"
75
Stefan Reinauer00636b02012-04-04 00:08:51 +020076config DCACHE_RAM_MRC_VAR_SIZE
77 hex
78 default 0x4000
79
80config HAVE_MRC
81 bool "Add a System Agent binary"
Vladimir Serbinenko18825272014-08-09 18:07:42 +020082 depends on !NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020083 help
84 Select this option to add a System Agent binary to
85 the resulting coreboot image.
86
87 Note: Without this binary coreboot will not work
88
Vladimir Serbinenko5e73be22014-01-12 19:25:00 +010089config HAVE_MRC_CACHE
90 bool
91 default HAVE_MRC
92
Stefan Reinauer00636b02012-04-04 00:08:51 +020093config MRC_FILE
94 string "Intel System Agent path and filename"
95 depends on HAVE_MRC
Stefan Reinauer3c46ca32013-07-29 13:00:03 -070096 default "3rdparty/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +020097 help
98 The path and filename of the file to use as System Agent
99 binary.
100
Stefan Reinauera1ea8222012-08-15 16:28:48 -0700101config CBFS_SIZE
102 hex "Size of CBFS filesystem in ROM"
103 default 0x100000
104 help
105 On Sandybridge and Ivybridge systems the firmware image has to
106 store a lot more than just coreboot, including:
107 - a firmware descriptor
108 - Intel Management Engine firmware
109 - MRC cache information
110 This option allows to limit the size of the CBFS portion in the
111 firmware image.
112
Stefan Reinauer00636b02012-04-04 00:08:51 +0200113endif