blob: c6ac4580b063e18f8cf98bfb76089b9248a7b030 [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
Vladimir Serbinenko35c0f432014-09-02 22:25:36 +020027 select PER_DEVICE_ACPI_TABLES
Stefan Reinauer00636b02012-04-04 00:08:51 +020028
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020029config NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
30 bool
31 select CACHE_MRC_BIN
32 select MMCONF_SUPPORT
33 select MMCONF_SUPPORT_DEFAULT
34 select CPU_INTEL_MODEL_206AX
35 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenko35c0f432014-09-02 22:25:36 +020036 select PER_DEVICE_ACPI_TABLES
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020037
Stefan Reinauer00636b02012-04-04 00:08:51 +020038config NORTHBRIDGE_INTEL_IVYBRIDGE
39 bool
40 select CACHE_MRC_BIN
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030041 select MMCONF_SUPPORT
42 select MMCONF_SUPPORT_DEFAULT
Kyösti Mälkkid9cf38f2014-06-13 11:07:34 +030043 select DYNAMIC_CBMEM
Stefan Reinauer00636b02012-04-04 00:08:51 +020044 select CPU_INTEL_MODEL_306AX
Vladimir Serbinenko35c0f432014-09-02 22:25:36 +020045 select PER_DEVICE_ACPI_TABLES
Stefan Reinauer00636b02012-04-04 00:08:51 +020046
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020047config NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
48 bool
49 select CACHE_MRC_BIN
50 select MMCONF_SUPPORT
51 select MMCONF_SUPPORT_DEFAULT
52 select CPU_INTEL_MODEL_306AX
53 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenko35c0f432014-09-02 22:25:36 +020054 select PER_DEVICE_ACPI_TABLES
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020055
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020056if NORTHBRIDGE_INTEL_SANDYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE || NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020057
58config VGA_BIOS_ID
59 string
60 default "8086,0106"
61
62config CACHE_MRC_SIZE_KB
63 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020064 default 512
65
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010066config IVYBRIDGE_LVDS
67 bool
68 default n
69
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020070config SANDYBRIDGE_LVDS
71 bool
72 default n
73
Stefan Reinauer48214892012-06-06 13:24:32 -070074config MRC_CACHE_SIZE
75 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070076 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070077 default 0x10000
78
Stefan Reinauer00636b02012-04-04 00:08:51 +020079config DCACHE_RAM_BASE
80 hex
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020081 default 0xff7e0000 if NORTHBRIDGE_INTEL_IVYBRIDGE
82 default 0xff7e0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020083 default 0xfefe0000 if NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020084 default 0xfefe0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020085
86config DCACHE_RAM_SIZE
87 hex
88 default 0x20000
89
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030090config BOOTBLOCK_NORTHBRIDGE_INIT
91 string
92 default "northbridge/intel/sandybridge/bootblock.c"
93
Stefan Reinauer00636b02012-04-04 00:08:51 +020094config DCACHE_RAM_MRC_VAR_SIZE
95 hex
96 default 0x4000
97
98config HAVE_MRC
99 bool "Add a System Agent binary"
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +0200100 depends on !NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE && !NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +0200101 help
102 Select this option to add a System Agent binary to
103 the resulting coreboot image.
104
105 Note: Without this binary coreboot will not work
106
Vladimir Serbinenko5e73be22014-01-12 19:25:00 +0100107config HAVE_MRC_CACHE
108 bool
109 default HAVE_MRC
110
Stefan Reinauer00636b02012-04-04 00:08:51 +0200111config MRC_FILE
112 string "Intel System Agent path and filename"
113 depends on HAVE_MRC
Stefan Reinauer3c46ca32013-07-29 13:00:03 -0700114 default "3rdparty/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200115 help
116 The path and filename of the file to use as System Agent
117 binary.
118
Stefan Reinauera1ea8222012-08-15 16:28:48 -0700119config CBFS_SIZE
120 hex "Size of CBFS filesystem in ROM"
121 default 0x100000
122 help
123 On Sandybridge and Ivybridge systems the firmware image has to
124 store a lot more than just coreboot, including:
125 - a firmware descriptor
126 - Intel Management Engine firmware
127 - MRC cache information
128 This option allows to limit the size of the CBFS portion in the
129 firmware image.
130
Stefan Reinauer00636b02012-04-04 00:08:51 +0200131endif