blob: e3066423e8b52b8444fe8444bd354fce8eeb8cf8 [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
Patrick Georgib890a122015-03-26 15:17:45 +010017## Foundation, Inc.
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
Stefan Reinauer00636b02012-04-04 00:08:51 +020025 select CPU_INTEL_MODEL_206AX
26
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020027config NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
28 bool
29 select CACHE_MRC_BIN
30 select MMCONF_SUPPORT
31 select MMCONF_SUPPORT_DEFAULT
32 select CPU_INTEL_MODEL_206AX
33 select HAVE_DEBUG_RAM_SETUP
34
Stefan Reinauer00636b02012-04-04 00:08:51 +020035config NORTHBRIDGE_INTEL_IVYBRIDGE
36 bool
37 select CACHE_MRC_BIN
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030038 select MMCONF_SUPPORT
39 select MMCONF_SUPPORT_DEFAULT
Stefan Reinauer00636b02012-04-04 00:08:51 +020040 select CPU_INTEL_MODEL_306AX
41
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020042config NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
43 bool
44 select CACHE_MRC_BIN
45 select MMCONF_SUPPORT
46 select MMCONF_SUPPORT_DEFAULT
47 select CPU_INTEL_MODEL_306AX
48 select HAVE_DEBUG_RAM_SETUP
49
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020050if NORTHBRIDGE_INTEL_SANDYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE || NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020051
52config VGA_BIOS_ID
53 string
54 default "8086,0106"
55
56config CACHE_MRC_SIZE_KB
57 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020058 default 512
59
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010060config IVYBRIDGE_LVDS
61 bool
62 default n
63
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020064config SANDYBRIDGE_LVDS
65 bool
66 default n
67
Stefan Reinauer48214892012-06-06 13:24:32 -070068config MRC_CACHE_SIZE
69 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070070 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070071 default 0x10000
72
Stefan Reinauer00636b02012-04-04 00:08:51 +020073config DCACHE_RAM_BASE
74 hex
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020075 default 0xff7e0000 if NORTHBRIDGE_INTEL_IVYBRIDGE
76 default 0xff7e0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020077 default 0xfefe0000 if NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020078 default 0xfefe0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020079
80config DCACHE_RAM_SIZE
81 hex
82 default 0x20000
83
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030084config BOOTBLOCK_NORTHBRIDGE_INIT
85 string
86 default "northbridge/intel/sandybridge/bootblock.c"
87
Stefan Reinauer00636b02012-04-04 00:08:51 +020088config DCACHE_RAM_MRC_VAR_SIZE
89 hex
90 default 0x4000
91
92config HAVE_MRC
93 bool "Add a System Agent binary"
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020094 depends on !NORTHBRIDGE_INTEL_IVYBRIDGE_NATIVE && !NORTHBRIDGE_INTEL_SANDYBRIDGE_NATIVE
Stefan Reinauer00636b02012-04-04 00:08:51 +020095 help
96 Select this option to add a System Agent binary to
97 the resulting coreboot image.
98
99 Note: Without this binary coreboot will not work
100
101config MRC_FILE
102 string "Intel System Agent path and filename"
103 depends on HAVE_MRC
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200104 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200105 help
106 The path and filename of the file to use as System Agent
107 binary.
108
Stefan Reinauera1ea8222012-08-15 16:28:48 -0700109config CBFS_SIZE
110 hex "Size of CBFS filesystem in ROM"
111 default 0x100000
112 help
113 On Sandybridge and Ivybridge systems the firmware image has to
114 store a lot more than just coreboot, including:
115 - a firmware descriptor
116 - Intel Management Engine firmware
117 - MRC cache information
118 This option allows to limit the size of the CBFS portion in the
119 firmware image.
120
Stefan Reinauer00636b02012-04-04 00:08:51 +0200121endif