blob: b52807cc94c751b37ce08a3ab6a445ec011817cc [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
Stefan Reinauer00636b02012-04-04 00:08:51 +020016
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -070017config NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020018 bool
Alexander Couzens92fc0722016-03-09 14:36:46 +010019 select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020020 select CPU_INTEL_MODEL_206AX
21 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010022 select INTEL_GMA_ACPI
Kyösti Mälkkibfca6702016-07-22 22:48:35 +030023 select RELOCATABLE_RAMSTAGE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020024
Stefan Reinauer00636b02012-04-04 00:08:51 +020025config NORTHBRIDGE_INTEL_IVYBRIDGE
26 bool
Alexander Couzens92fc0722016-03-09 14:36:46 +010027 select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
Stefan Reinauer00636b02012-04-04 00:08:51 +020028 select CPU_INTEL_MODEL_306AX
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020029 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010030 select INTEL_GMA_ACPI
Kyösti Mälkkibfca6702016-07-22 22:48:35 +030031 select RELOCATABLE_RAMSTAGE
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020032
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010033if NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_SANDYBRIDGE
34
Julius Werner1210b412017-03-27 19:26:32 -070035config VBOOT
36 select VBOOT_STARTS_IN_ROMSTAGE
37
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010038config USE_NATIVE_RAMINIT
39 bool "Use native raminit"
40 default y
41 help
42 Select if you want to use coreboot implementation of raminit rather than
43 System Agent/MRC.bin. You should answer Y.
Stefan Reinauer00636b02012-04-04 00:08:51 +020044
Martin Roth59ff3402016-02-09 09:06:46 -070045config CBFS_SIZE
46 hex
47 default 0x100000
48
Stefan Reinauer00636b02012-04-04 00:08:51 +020049config VGA_BIOS_ID
50 string
51 default "8086,0106"
52
53config CACHE_MRC_SIZE_KB
54 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020055 default 512
56
Iru Cai8e7928a2015-10-18 23:40:34 +080057config SANDYBRIDGE_IVYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010058 def_bool n
Kyösti Mälkki8f3aaa82016-05-16 14:49:57 +030059 select VGA
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010060 select MAINBOARD_HAS_NATIVE_VGA_INIT
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010061
Nico Huberd4ebeaf2017-05-22 13:49:22 +020062config IF_NATIVE_VGA_INIT
63 def_bool y
64 depends on MAINBOARD_DO_NATIVE_VGA_INIT
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010065 select VGA
66 select INTEL_EDID
Nico Huber7971582e2017-05-20 01:07:48 +020067 select HAVE_LINEAR_FRAMEBUFFER
Nico Huberce642f02017-05-19 15:08:21 +020068 select HAVE_VGA_TEXT_FRAMEBUFFER
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020069
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
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030075config BOOTBLOCK_NORTHBRIDGE_INIT
76 string
77 default "northbridge/intel/sandybridge/bootblock.c"
78
79if USE_NATIVE_RAMINIT
80
Stefan Reinauer00636b02012-04-04 00:08:51 +020081config DCACHE_RAM_BASE
82 hex
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030083 default 0xfefe0000
Stefan Reinauer00636b02012-04-04 00:08:51 +020084
85config DCACHE_RAM_SIZE
86 hex
87 default 0x20000
88
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030089config DCACHE_RAM_MRC_VAR_SIZE
90 hex
91 default 0x0
92
93endif # USE_NATIVE_RAMINIT
94
95if !USE_NATIVE_RAMINIT
96
97config DCACHE_RAM_BASE
98 hex
99 default 0xff7e0000
100
101config DCACHE_RAM_SIZE
102 hex
103 default 0x1c000
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +0300104
Stefan Reinauer00636b02012-04-04 00:08:51 +0200105config DCACHE_RAM_MRC_VAR_SIZE
106 hex
107 default 0x4000
108
Stefan Reinauer00636b02012-04-04 00:08:51 +0200109config MRC_FILE
110 string "Intel System Agent path and filename"
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
Kyösti Mälkki0306e6a2016-06-23 12:41:40 +0300116config MMCONF_BASE_ADDRESS
117 hex
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300118 default 0xf0000000
119
120endif # !USE_NATIVE_RAMINIT
Kyösti Mälkki0306e6a2016-06-23 12:41:40 +0300121
Stefan Reinauer00636b02012-04-04 00:08:51 +0200122endif