blob: 18fd175bfc64b6d9ec7152d5b6ed1504d272fb04 [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
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020028config NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
29 bool
30 select CACHE_MRC_BIN
31 select MMCONF_SUPPORT
32 select MMCONF_SUPPORT_DEFAULT
33 select CPU_INTEL_MODEL_206AX
34 select HAVE_DEBUG_RAM_SETUP
35
Stefan Reinauer00636b02012-04-04 00:08:51 +020036config NORTHBRIDGE_INTEL_IVYBRIDGE
37 bool
38 select CACHE_MRC_BIN
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030039 select MMCONF_SUPPORT
40 select MMCONF_SUPPORT_DEFAULT
Kyösti Mälkkid9cf38f2014-06-13 11:07:34 +030041 select DYNAMIC_CBMEM
Stefan Reinauer00636b02012-04-04 00:08:51 +020042 select CPU_INTEL_MODEL_306AX
43
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020044config NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
45 bool
46 select CACHE_MRC_BIN
47 select MMCONF_SUPPORT
48 select MMCONF_SUPPORT_DEFAULT
49 select CPU_INTEL_MODEL_306AX
50 select HAVE_DEBUG_RAM_SETUP
51
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020052if NORTHBRIDGE_INTEL_SANDYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE || NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020053
54config VGA_BIOS_ID
55 string
56 default "8086,0106"
57
58config CACHE_MRC_SIZE_KB
59 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020060 default 512
61
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010062config IVYBRIDGE_LVDS
63 bool
64 default n
65
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020066config SANDYBRIDGE_LVDS
67 bool
68 default n
69
Stefan Reinauer48214892012-06-06 13:24:32 -070070config MRC_CACHE_SIZE
71 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070072 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070073 default 0x10000
74
Stefan Reinauer00636b02012-04-04 00:08:51 +020075config DCACHE_RAM_BASE
76 hex
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020077 default 0xff7e0000 if NORTHBRIDGE_INTEL_IVYBRIDGE
78 default 0xff7e0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020079 default 0xfefe0000 if NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020080 default 0xfefe0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020081
82config DCACHE_RAM_SIZE
83 hex
84 default 0x20000
85
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030086config BOOTBLOCK_NORTHBRIDGE_INIT
87 string
88 default "northbridge/intel/sandybridge/bootblock.c"
89
Stefan Reinauer00636b02012-04-04 00:08:51 +020090config DCACHE_RAM_MRC_VAR_SIZE
91 hex
92 default 0x4000
93
94config HAVE_MRC
95 bool "Add a System Agent binary"
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020096 depends on !NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE && !NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020097 help
98 Select this option to add a System Agent binary to
99 the resulting coreboot image.
100
101 Note: Without this binary coreboot will not work
102
Vladimir Serbinenko5e73be22014-01-12 19:25:00 +0100103config HAVE_MRC_CACHE
104 bool
105 default HAVE_MRC
106
Stefan Reinauer00636b02012-04-04 00:08:51 +0200107config MRC_FILE
108 string "Intel System Agent path and filename"
109 depends on HAVE_MRC
Stefan Reinauer3c46ca32013-07-29 13:00:03 -0700110 default "3rdparty/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200111 help
112 The path and filename of the file to use as System Agent
113 binary.
114
Stefan Reinauera1ea8222012-08-15 16:28:48 -0700115config CBFS_SIZE
116 hex "Size of CBFS filesystem in ROM"
117 default 0x100000
118 help
119 On Sandybridge and Ivybridge systems the firmware image has to
120 store a lot more than just coreboot, including:
121 - a firmware descriptor
122 - Intel Management Engine firmware
123 - MRC cache information
124 This option allows to limit the size of the CBFS portion in the
125 firmware image.
126
Stefan Reinauer00636b02012-04-04 00:08:51 +0200127endif