blob: 347e3fa9660a9abced508fc56e24cb58c9b00d7f [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
48config VGA_BIOS_ID
49 string
50 default "8086,0106"
51
52config CACHE_MRC_SIZE_KB
53 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020054 default 512
55
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010056config IVYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010057 def_bool n
58 select MAINBOARD_HAS_NATIVE_VGA_INIT
59 select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
Vladimir Serbinenko1783a3c2014-02-23 00:10:35 +010060
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020061config SANDYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010062 def_bool n
63 select MAINBOARD_HAS_NATIVE_VGA_INIT
64 select MAINBOARD_HAS_NATIVE_VGA_INIT_TEXTMODECFG
65
66# Select VGA & INTEL_EDID if MAINBOARD_DO_NATIVE_VGA_INIT is enabled.
67config MAINBOARD_DO_NATIVE_VGA_INIT
68 select VGA
69 select INTEL_EDID
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020070
Stefan Reinauer48214892012-06-06 13:24:32 -070071config MRC_CACHE_SIZE
72 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070073 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070074 default 0x10000
75
Stefan Reinauer00636b02012-04-04 00:08:51 +020076config DCACHE_RAM_BASE
77 hex
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070078 default 0xff7e0000 if NORTHBRIDGE_INTEL_IVYBRIDGE_MRC
79 default 0xff7e0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE_MRC
80 default 0xfefe0000 if NORTHBRIDGE_INTEL_IVYBRIDGE
81 default 0xfefe0000 if NORTHBRIDGE_INTEL_SANDYBRIDGE
Stefan Reinauer00636b02012-04-04 00:08:51 +020082
83config DCACHE_RAM_SIZE
84 hex
85 default 0x20000
86
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +030087config BOOTBLOCK_NORTHBRIDGE_INIT
88 string
89 default "northbridge/intel/sandybridge/bootblock.c"
90
Stefan Reinauer00636b02012-04-04 00:08:51 +020091config DCACHE_RAM_MRC_VAR_SIZE
92 hex
93 default 0x4000
94
95config HAVE_MRC
96 bool "Add a System Agent binary"
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070097 depends on !NORTHBRIDGE_INTEL_IVYBRIDGE && !NORTHBRIDGE_INTEL_SANDYBRIDGE
Stefan Reinauer00636b02012-04-04 00:08:51 +020098 help
99 Select this option to add a System Agent binary to
100 the resulting coreboot image.
101
102 Note: Without this binary coreboot will not work
103
104config MRC_FILE
105 string "Intel System Agent path and filename"
106 depends on HAVE_MRC
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200107 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200108 help
109 The path and filename of the file to use as System Agent
110 binary.
111
Stefan Reinauer00636b02012-04-04 00:08:51 +0200112endif