blob: 2ceb945a10426566955bd8db31d53a53f4d93883 [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
Stefan Reinauer48214892012-06-06 13:24:32 -070054config MRC_CACHE_SIZE
55 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070056 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070057 default 0x10000
58
Stefan Reinauer00636b02012-04-04 00:08:51 +020059config DCACHE_RAM_BASE
60 hex
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020061 default 0xff7e0000 if !NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
62 default 0xfefe0000 if NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020063
64config DCACHE_RAM_SIZE
65 hex
66 default 0x20000
67
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030068config BOOTBLOCK_NORTHBRIDGE_INIT
69 string
70 default "northbridge/intel/sandybridge/bootblock.c"
71
Stefan Reinauer00636b02012-04-04 00:08:51 +020072config DCACHE_RAM_MRC_VAR_SIZE
73 hex
74 default 0x4000
75
76config HAVE_MRC
77 bool "Add a System Agent binary"
78 help
79 Select this option to add a System Agent binary to
80 the resulting coreboot image.
81
82 Note: Without this binary coreboot will not work
83
Vladimir Serbinenko5e73be22014-01-12 19:25:00 +010084config HAVE_MRC_CACHE
85 bool
86 default HAVE_MRC
87
Stefan Reinauer00636b02012-04-04 00:08:51 +020088config MRC_FILE
89 string "Intel System Agent path and filename"
90 depends on HAVE_MRC
Stefan Reinauer3c46ca32013-07-29 13:00:03 -070091 default "3rdparty/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +020092 help
93 The path and filename of the file to use as System Agent
94 binary.
95
Stefan Reinauera1ea8222012-08-15 16:28:48 -070096config CBFS_SIZE
97 hex "Size of CBFS filesystem in ROM"
98 default 0x100000
99 help
100 On Sandybridge and Ivybridge systems the firmware image has to
101 store a lot more than just coreboot, including:
102 - a firmware descriptor
103 - Intel Management Engine firmware
104 - MRC cache information
105 This option allows to limit the size of the CBFS portion in the
106 firmware image.
107
Stefan Reinauer00636b02012-04-04 00:08:51 +0200108endif