blob: 9d4d089dd1dbfe7fb48e1adbbc1feafe7c7681ed [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##
Stefan Reinauer00636b02012-04-04 00:08:51 +020015
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070016config NORTHBRIDGE_INTEL_SANDYBRIDGE_MRC
Stefan Reinauer00636b02012-04-04 00:08:51 +020017 bool
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030018 select MMCONF_SUPPORT
19 select MMCONF_SUPPORT_DEFAULT
Stefan Reinauer00636b02012-04-04 00:08:51 +020020 select CPU_INTEL_MODEL_206AX
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010021 select INTEL_GMA_ACPI
Stefan Reinauer00636b02012-04-04 00:08:51 +020022
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070023config NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020024 bool
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020025 select MMCONF_SUPPORT
26 select MMCONF_SUPPORT_DEFAULT
27 select CPU_INTEL_MODEL_206AX
28 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010029 select INTEL_GMA_ACPI
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020030
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070031config NORTHBRIDGE_INTEL_IVYBRIDGE_MRC
32 bool
33 select MMCONF_SUPPORT
34 select MMCONF_SUPPORT_DEFAULT
35 select CPU_INTEL_MODEL_306AX
36 select INTEL_GMA_ACPI
37
Stefan Reinauer00636b02012-04-04 00:08:51 +020038config NORTHBRIDGE_INTEL_IVYBRIDGE
39 bool
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030040 select MMCONF_SUPPORT
41 select MMCONF_SUPPORT_DEFAULT
Stefan Reinauer00636b02012-04-04 00:08:51 +020042 select CPU_INTEL_MODEL_306AX
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020043 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010044 select INTEL_GMA_ACPI
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020045
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070046if NORTHBRIDGE_INTEL_SANDYBRIDGE_MRC || NORTHBRIDGE_INTEL_IVYBRIDGE_MRC || NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_SANDYBRIDGE
Stefan Reinauer00636b02012-04-04 00:08:51 +020047
Martin Roth59ff3402016-02-09 09:06:46 -070048config CBFS_SIZE
49 hex
50 default 0x100000
51
Stefan Reinauer00636b02012-04-04 00:08:51 +020052config 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
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010061 def_bool n
62 select MAINBOARD_HAS_NATIVE_VGA_INIT
63 select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010064
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020065config SANDYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010066 def_bool n
67 select MAINBOARD_HAS_NATIVE_VGA_INIT
68 select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
69
70# Select VGA & INTEL_EDID if MAINBOARD_DO_NATIVE_VGA_INIT is enabled.
71config MAINBOARD_DO_NATIVE_VGA_INIT
72 select VGA
73 select INTEL_EDID
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020074
Stefan Reinauer48214892012-06-06 13:24:32 -070075config MRC_CACHE_SIZE
76 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070077 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070078 default 0x10000
79
Stefan Reinauer00636b02012-04-04 00:08:51 +020080config DCACHE_RAM_BASE
81 hex
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070082 default 0xff7e0000 if NORTHBRIDGE_INTEL_IVYBRIDGE_MRC
83 default 0xff7e0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE_MRC
84 default 0xfefe0000 if NORTHBRIDGE_INTEL_IVYBRIDGE
85 default 0xfefe0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE
Stefan Reinauer00636b02012-04-04 00:08:51 +020086
87config DCACHE_RAM_SIZE
88 hex
89 default 0x20000
90
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030091config BOOTBLOCK_NORTHBRIDGE_INIT
92 string
93 default "northbridge/intel/sandybridge/bootblock.c"
94
Stefan Reinauer00636b02012-04-04 00:08:51 +020095config DCACHE_RAM_MRC_VAR_SIZE
96 hex
97 default 0x4000
98
99config HAVE_MRC
100 bool "Add a System Agent binary"
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -0700101 depends on !NORTHBRIDGE_INTEL_IVYBRIDGE && !NORTHBRIDGE_INTEL_SANDYBRIDGE
Stefan Reinauer00636b02012-04-04 00:08:51 +0200102 help
103 Select this option to add a System Agent binary to
104 the resulting coreboot image.
105
106 Note: Without this binary coreboot will not work
107
108config MRC_FILE
109 string "Intel System Agent path and filename"
110 depends on HAVE_MRC
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200111 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200112 help
113 The path and filename of the file to use as System Agent
114 binary.
115
Stefan Reinauer00636b02012-04-04 00:08:51 +0200116endif