blob: f727453afe2c5ef32fc52a995ef9a2b9ef5a67b7 [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
Arthur Heymans7539b8c2017-12-24 10:42:57 +010019 select CACHE_MRC_SETTINGS
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
Arthur Heymans6fcd7b82018-06-03 12:16:24 +020024 select POSTCAR_STAGE
25 select POSTCAR_CONSOLE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020026
Stefan Reinauer00636b02012-04-04 00:08:51 +020027config NORTHBRIDGE_INTEL_IVYBRIDGE
28 bool
Arthur Heymans7539b8c2017-12-24 10:42:57 +010029 select CACHE_MRC_SETTINGS
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
Arthur Heymans6fcd7b82018-06-03 12:16:24 +020034 select POSTCAR_STAGE
35 select POSTCAR_CONSOLE
Vladimir Serbinenko7686a562014-05-18 11:05:56 +020036
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010037if NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_SANDYBRIDGE
38
Julius Werner1210b412017-03-27 19:26:32 -070039config VBOOT
40 select VBOOT_STARTS_IN_ROMSTAGE
41
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010042config USE_NATIVE_RAMINIT
43 bool "Use native raminit"
44 default y
45 help
46 Select if you want to use coreboot implementation of raminit rather than
47 System Agent/MRC.bin. You should answer Y.
Stefan Reinauer00636b02012-04-04 00:08:51 +020048
Patrick Rudolphb794a692017-08-08 13:13:51 +020049config NATIVE_RAMINIT_IGNORE_MAX_MEM_FUSES
50 bool "Ignore vendor programmed fuses that limit max. DRAM frequency"
51 default n
52 depends on USE_NATIVE_RAMINIT
53 help
54 Ignore the mainboard's vendor programmed fuses that might limit the
55 maximum DRAM frequency. By selecting this option the fuses will be
56 ignored and the only limits on DRAM frequency are set by RAM's SPD and
57 hard fuses in southbridge's clockgen.
58 Disabled by default as it might causes system instability.
59 Handle with care!
60
Vagiz Trakhanov771be482017-10-02 10:02:35 +000061config NATIVE_RAMINIT_IGNORE_XMP_MAX_DIMMS
62 bool "Ignore XMP profile max DIMMs per channel"
63 default n
64 depends on USE_NATIVE_RAMINIT
65 help
66 Ignore the max DIMMs per channel restriciton defined in XMP profiles.
67 Disabled by default as it might cause system instability.
68 Handle with care!
69
Martin Roth59ff3402016-02-09 09:06:46 -070070config CBFS_SIZE
71 hex
72 default 0x100000
73
Stefan Reinauer00636b02012-04-04 00:08:51 +020074config VGA_BIOS_ID
75 string
76 default "8086,0106"
77
78config CACHE_MRC_SIZE_KB
79 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020080 default 512
81
Iru Cai8e7928a2015-10-18 23:40:34 +080082config SANDYBRIDGE_IVYBRIDGE_LVDS
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010083 def_bool n
Kyösti Mälkki8f3aaa82016-05-16 14:49:57 +030084 select VGA
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010085 select MAINBOARD_HAS_NATIVE_VGA_INIT
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010086
Nico Huberd4ebeaf2017-05-22 13:49:22 +020087config IF_NATIVE_VGA_INIT
88 def_bool y
89 depends on MAINBOARD_DO_NATIVE_VGA_INIT
Vladimir Serbinenkob2eea812016-02-09 21:50:45 +010090 select VGA
91 select INTEL_EDID
Nico Huber7971582e2017-05-20 01:07:48 +020092 select HAVE_LINEAR_FRAMEBUFFER
Nico Huberce642f02017-05-19 15:08:21 +020093 select HAVE_VGA_TEXT_FRAMEBUFFER
Vladimir Serbinenko9ba922f2014-08-24 22:38:07 +020094
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030095config BOOTBLOCK_NORTHBRIDGE_INIT
96 string
97 default "northbridge/intel/sandybridge/bootblock.c"
98
Nico Huber2b5c0212017-07-29 01:10:49 +020099config MMCONF_BASE_ADDRESS
100 hex
Nico Huber2b5c0212017-07-29 01:10:49 +0200101 default 0xf0000000
102 help
Arthur Heymans742a0e92018-01-29 16:34:46 +0100103 The MRC blob requires it to be at 0xf0000000.
Nico Huber2b5c0212017-07-29 01:10:49 +0200104
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300105if USE_NATIVE_RAMINIT
106
Stefan Reinauer00636b02012-04-04 00:08:51 +0200107config DCACHE_RAM_BASE
108 hex
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300109 default 0xfefe0000
Stefan Reinauer00636b02012-04-04 00:08:51 +0200110
111config DCACHE_RAM_SIZE
112 hex
113 default 0x20000
114
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300115config DCACHE_RAM_MRC_VAR_SIZE
116 hex
117 default 0x0
118
119endif # USE_NATIVE_RAMINIT
120
121if !USE_NATIVE_RAMINIT
122
123config DCACHE_RAM_BASE
124 hex
125 default 0xff7e0000
126
127config DCACHE_RAM_SIZE
128 hex
129 default 0x1c000
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +0300130
Stefan Reinauer00636b02012-04-04 00:08:51 +0200131config DCACHE_RAM_MRC_VAR_SIZE
132 hex
133 default 0x4000
134
Stefan Reinauer00636b02012-04-04 00:08:51 +0200135config MRC_FILE
136 string "Intel System Agent path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200137 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200138 help
139 The path and filename of the file to use as System Agent
140 binary.
141
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300142endif # !USE_NATIVE_RAMINIT
Kyösti Mälkki0306e6a2016-06-23 12:41:40 +0300143
Stefan Reinauer00636b02012-04-04 00:08:51 +0200144endif