blob: 2d13f286e988f9939a83cc05f6798696f9e21f1a [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
Patrick Rudolph402e9c12017-05-18 18:26:30 +020020 select NORTHBRIDGE_INTEL_COMMON_GMA_OPREGION
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020021 select CPU_INTEL_MODEL_206AX
22 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010023 select INTEL_GMA_ACPI
Kyösti Mälkkibfca6702016-07-22 22:48:35 +030024 select RELOCATABLE_RAMSTAGE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020025
Stefan Reinauer00636b02012-04-04 00:08:51 +020026config NORTHBRIDGE_INTEL_IVYBRIDGE
27 bool
Alexander Couzens92fc0722016-03-09 14:36:46 +010028 select NORTHBRIDGE_INTEL_COMMON_MRC_CACHE
Patrick Rudolph402e9c12017-05-18 18:26:30 +020029 select NORTHBRIDGE_INTEL_COMMON_GMA_OPREGION
Stefan Reinauer00636b02012-04-04 00:08:51 +020030 select CPU_INTEL_MODEL_306AX
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020031 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +010032 select INTEL_GMA_ACPI
Kyösti Mälkkibfca6702016-07-22 22:48:35 +030033 select RELOCATABLE_RAMSTAGE
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020034
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010035if NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_SANDYBRIDGE
36
Julius Werner1210b412017-03-27 19:26:32 -070037config VBOOT
38 select VBOOT_STARTS_IN_ROMSTAGE
39
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010040config USE_NATIVE_RAMINIT
41 bool "Use native raminit"
42 default y
43 help
44 Select if you want to use coreboot implementation of raminit rather than
45 System Agent/MRC.bin. You should answer Y.
Stefan Reinauer00636b02012-04-04 00:08:51 +020046
Martin Roth59ff3402016-02-09 09:06:46 -070047config CBFS_SIZE
48 hex
49 default 0x100000
50
Stefan Reinauer00636b02012-04-04 00:08:51 +020051config VGA_BIOS_ID
52 string
53 default "8086,0106"
54
55config CACHE_MRC_SIZE_KB
56 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020057 default 512
58
Iru Cai8e7928a2015-10-18 23:40:34 +080059config SANDYBRIDGE_IVYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010060 def_bool n
Kyösti Mälkki8f3aaa82016-05-16 14:49:57 +030061 select VGA
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010062 select MAINBOARD_HAS_NATIVE_VGA_INIT
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010063
Nico Huberd4ebeaf2017-05-22 13:49:22 +020064config IF_NATIVE_VGA_INIT
65 def_bool y
66 depends on MAINBOARD_DO_NATIVE_VGA_INIT
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010067 select VGA
68 select INTEL_EDID
Nico Huber7971582e2017-05-20 01:07:48 +020069 select HAVE_LINEAR_FRAMEBUFFER
Nico Huberce642f02017-05-19 15:08:21 +020070 select HAVE_VGA_TEXT_FRAMEBUFFER
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020071
Stefan Reinauer48214892012-06-06 13:24:32 -070072config MRC_CACHE_SIZE
73 hex
Stefan Reinauer357bb2d2012-08-09 13:44:38 -070074 depends on !CHROMEOS
Stefan Reinauer48214892012-06-06 13:24:32 -070075 default 0x10000
76
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030077config BOOTBLOCK_NORTHBRIDGE_INIT
78 string
79 default "northbridge/intel/sandybridge/bootblock.c"
80
Nico Huber2b5c0212017-07-29 01:10:49 +020081config MMCONF_BASE_ADDRESS
82 hex
83 default 0xf8000000 if USE_NATIVE_RAMINIT
84 default 0xf0000000
85 help
86 We can optimize the native case but the MRC blob requires it
87 to be at 0xf0000000.
88
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030089if USE_NATIVE_RAMINIT
90
Stefan Reinauer00636b02012-04-04 00:08:51 +020091config DCACHE_RAM_BASE
92 hex
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030093 default 0xfefe0000
Stefan Reinauer00636b02012-04-04 00:08:51 +020094
95config DCACHE_RAM_SIZE
96 hex
97 default 0x20000
98
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030099config DCACHE_RAM_MRC_VAR_SIZE
100 hex
101 default 0x0
102
103endif # USE_NATIVE_RAMINIT
104
105if !USE_NATIVE_RAMINIT
106
107config DCACHE_RAM_BASE
108 hex
109 default 0xff7e0000
110
111config DCACHE_RAM_SIZE
112 hex
113 default 0x1c000
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +0300114
Stefan Reinauer00636b02012-04-04 00:08:51 +0200115config DCACHE_RAM_MRC_VAR_SIZE
116 hex
117 default 0x4000
118
Stefan Reinauer00636b02012-04-04 00:08:51 +0200119config MRC_FILE
120 string "Intel System Agent path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200121 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200122 help
123 The path and filename of the file to use as System Agent
124 binary.
125
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300126endif # !USE_NATIVE_RAMINIT
Kyösti Mälkki0306e6a2016-06-23 12:41:40 +0300127
Stefan Reinauer00636b02012-04-04 00:08:51 +0200128endif