blob: 06fdc4a0a9775e321bd3d16651a205dbc5f59b60 [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
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020023
Nico Huber772a1542019-05-10 16:48:14 +020024if NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010025
Patrick Rudolph1ee3dbc2020-02-28 13:11:13 +010026config SANDYBRIDGE_VBOOT_IN_ROMSTAGE
27 bool
28 default n
29 help
30 Selected by boards to force VBOOT_STARTS_IN_ROMSTAGE.
31
32config SANDYBRIDGE_VBOOT_IN_BOOTBLOCK
33 depends on VBOOT
34 depends on !SANDYBRIDGE_VBOOT_IN_ROMSTAGE
35 bool "Start verstage in bootblock"
36 default y
37 select VBOOT_STARTS_IN_BOOTBLOCK
38 select VBOOT_SEPARATE_VERSTAGE
39 help
40 Sandy Bridge can either start verstage in a separate stage
41 right after the bootblock has run or it can start it
42 after romstage for compatibility reasons.
43 Sandy Bridge however uses a mrc.bin to initialize memory which
44 needs to be located at a fixed offset. Therefore even with
45 a separate verstage starting after the bootblock that same
46 binary is used meaning a jump is made from RW to the RO region
47 and back to the RW region after the binary is done.
48
Julius Werner1210b412017-03-27 19:26:32 -070049config VBOOT
Patrick Rudolph1ee3dbc2020-02-28 13:11:13 +010050 select VBOOT_MUST_REQUEST_DISPLAY
51 select VBOOT_STARTS_IN_ROMSTAGE if !SANDYBRIDGE_VBOOT_IN_BOOTBLOCK
Julius Werner1210b412017-03-27 19:26:32 -070052
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010053config USE_NATIVE_RAMINIT
54 bool "Use native raminit"
55 default y
56 help
57 Select if you want to use coreboot implementation of raminit rather than
58 System Agent/MRC.bin. You should answer Y.
Stefan Reinauer00636b02012-04-04 00:08:51 +020059
Patrick Rudolphb794a692017-08-08 13:13:51 +020060config NATIVE_RAMINIT_IGNORE_MAX_MEM_FUSES
61 bool "Ignore vendor programmed fuses that limit max. DRAM frequency"
62 default n
63 depends on USE_NATIVE_RAMINIT
64 help
65 Ignore the mainboard's vendor programmed fuses that might limit the
66 maximum DRAM frequency. By selecting this option the fuses will be
67 ignored and the only limits on DRAM frequency are set by RAM's SPD and
68 hard fuses in southbridge's clockgen.
69 Disabled by default as it might causes system instability.
70 Handle with care!
71
Vagiz Trakhanov771be482017-10-02 10:02:35 +000072config NATIVE_RAMINIT_IGNORE_XMP_MAX_DIMMS
73 bool "Ignore XMP profile max DIMMs per channel"
74 default n
75 depends on USE_NATIVE_RAMINIT
76 help
77 Ignore the max DIMMs per channel restriciton defined in XMP profiles.
78 Disabled by default as it might cause system instability.
79 Handle with care!
80
Martin Roth59ff3402016-02-09 09:06:46 -070081config CBFS_SIZE
82 hex
83 default 0x100000
84
Stefan Reinauer00636b02012-04-04 00:08:51 +020085config VGA_BIOS_ID
86 string
87 default "8086,0106"
88
Nico Huber2b5c0212017-07-29 01:10:49 +020089config MMCONF_BASE_ADDRESS
90 hex
Nico Huber2b5c0212017-07-29 01:10:49 +020091 default 0xf0000000
92 help
Arthur Heymans742a0e92018-01-29 16:34:46 +010093 The MRC blob requires it to be at 0xf0000000.
Nico Huber2b5c0212017-07-29 01:10:49 +020094
Stefan Reinauer00636b02012-04-04 00:08:51 +020095config DCACHE_RAM_BASE
96 hex
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030097 default 0xfefe0000
Stefan Reinauer00636b02012-04-04 00:08:51 +020098
Arthur Heymans67d59d12019-11-16 20:06:20 +010099config DCACHE_BSP_STACK_SIZE
100 hex
Arthur Heymans8d821092019-11-25 06:56:04 +0100101 default 0x10000
102 help
103 The amount of BSP stack anticipated in bootblock and
104 other stages.
Arthur Heymans01c83a22019-06-05 13:36:55 +0200105
106if USE_NATIVE_RAMINIT
107
Stefan Reinauer00636b02012-04-04 00:08:51 +0200108config DCACHE_RAM_SIZE
109 hex
110 default 0x20000
111
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300112config DCACHE_RAM_MRC_VAR_SIZE
113 hex
114 default 0x0
115
116endif # USE_NATIVE_RAMINIT
117
118if !USE_NATIVE_RAMINIT
119
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300120config DCACHE_RAM_SIZE
121 hex
Arthur Heymans01c83a22019-06-05 13:36:55 +0200122 default 0x17000
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +0300123
Stefan Reinauer00636b02012-04-04 00:08:51 +0200124config DCACHE_RAM_MRC_VAR_SIZE
125 hex
Arthur Heymans01c83a22019-06-05 13:36:55 +0200126 default 0x9000
Stefan Reinauer00636b02012-04-04 00:08:51 +0200127
Stefan Reinauer00636b02012-04-04 00:08:51 +0200128config MRC_FILE
129 string "Intel System Agent path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200130 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200131 help
132 The path and filename of the file to use as System Agent
133 binary.
134
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300135endif # !USE_NATIVE_RAMINIT
Kyösti Mälkki0306e6a2016-06-23 12:41:40 +0300136
Stefan Reinauer00636b02012-04-04 00:08:51 +0200137endif