blob: a9bbf58ef87a95430154f17d9468c9b5d84460bd [file] [log] [blame]
Angel Pons6e5aabd2020-03-23 23:44:42 +01001## SPDX-License-Identifier: GPL-2.0-only
Stefan Reinauer00636b02012-04-04 00:08:51 +02002## This file is part of the coreboot project.
Stefan Reinauer00636b02012-04-04 00:08:51 +02003
Alexandru Gagniucecf2eb42015-09-28 21:39:12 -07004config NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +02005 bool
Arthur Heymans7539b8c2017-12-24 10:42:57 +01006 select CACHE_MRC_SETTINGS
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +02007 select CPU_INTEL_MODEL_206AX
8 select HAVE_DEBUG_RAM_SETUP
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01009 select INTEL_GMA_ACPI
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020010
Nico Huber772a1542019-05-10 16:48:14 +020011if NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010012
Patrick Rudolph1ee3dbc2020-02-28 13:11:13 +010013config SANDYBRIDGE_VBOOT_IN_ROMSTAGE
14 bool
15 default n
16 help
17 Selected by boards to force VBOOT_STARTS_IN_ROMSTAGE.
18
19config SANDYBRIDGE_VBOOT_IN_BOOTBLOCK
20 depends on VBOOT
21 depends on !SANDYBRIDGE_VBOOT_IN_ROMSTAGE
22 bool "Start verstage in bootblock"
23 default y
24 select VBOOT_STARTS_IN_BOOTBLOCK
25 select VBOOT_SEPARATE_VERSTAGE
26 help
27 Sandy Bridge can either start verstage in a separate stage
28 right after the bootblock has run or it can start it
29 after romstage for compatibility reasons.
30 Sandy Bridge however uses a mrc.bin to initialize memory which
31 needs to be located at a fixed offset. Therefore even with
32 a separate verstage starting after the bootblock that same
33 binary is used meaning a jump is made from RW to the RO region
34 and back to the RW region after the binary is done.
35
Julius Werner1210b412017-03-27 19:26:32 -070036config VBOOT
Patrick Rudolph1ee3dbc2020-02-28 13:11:13 +010037 select VBOOT_MUST_REQUEST_DISPLAY
38 select VBOOT_STARTS_IN_ROMSTAGE if !SANDYBRIDGE_VBOOT_IN_BOOTBLOCK
Julius Werner1210b412017-03-27 19:26:32 -070039
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
Patrick Rudolphb794a692017-08-08 13:13:51 +020047config NATIVE_RAMINIT_IGNORE_MAX_MEM_FUSES
48 bool "Ignore vendor programmed fuses that limit max. DRAM frequency"
49 default n
50 depends on USE_NATIVE_RAMINIT
51 help
52 Ignore the mainboard's vendor programmed fuses that might limit the
53 maximum DRAM frequency. By selecting this option the fuses will be
54 ignored and the only limits on DRAM frequency are set by RAM's SPD and
55 hard fuses in southbridge's clockgen.
56 Disabled by default as it might causes system instability.
57 Handle with care!
58
Vagiz Trakhanov771be482017-10-02 10:02:35 +000059config NATIVE_RAMINIT_IGNORE_XMP_MAX_DIMMS
60 bool "Ignore XMP profile max DIMMs per channel"
61 default n
62 depends on USE_NATIVE_RAMINIT
63 help
64 Ignore the max DIMMs per channel restriciton defined in XMP profiles.
65 Disabled by default as it might cause system instability.
66 Handle with care!
67
Martin Roth59ff3402016-02-09 09:06:46 -070068config CBFS_SIZE
69 hex
70 default 0x100000
71
Stefan Reinauer00636b02012-04-04 00:08:51 +020072config VGA_BIOS_ID
73 string
74 default "8086,0106"
75
Nico Huber2b5c0212017-07-29 01:10:49 +020076config MMCONF_BASE_ADDRESS
77 hex
Nico Huber2b5c0212017-07-29 01:10:49 +020078 default 0xf0000000
79 help
Arthur Heymans742a0e92018-01-29 16:34:46 +010080 The MRC blob requires it to be at 0xf0000000.
Nico Huber2b5c0212017-07-29 01:10:49 +020081
Stefan Reinauer00636b02012-04-04 00:08:51 +020082config DCACHE_RAM_BASE
83 hex
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030084 default 0xfefe0000
Stefan Reinauer00636b02012-04-04 00:08:51 +020085
Arthur Heymans67d59d12019-11-16 20:06:20 +010086config DCACHE_BSP_STACK_SIZE
87 hex
Arthur Heymans8d821092019-11-25 06:56:04 +010088 default 0x10000
89 help
90 The amount of BSP stack anticipated in bootblock and
91 other stages.
Arthur Heymans01c83a22019-06-05 13:36:55 +020092
93if USE_NATIVE_RAMINIT
94
Stefan Reinauer00636b02012-04-04 00:08:51 +020095config 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
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300107config DCACHE_RAM_SIZE
108 hex
Arthur Heymans01c83a22019-06-05 13:36:55 +0200109 default 0x17000
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +0300110
Stefan Reinauer00636b02012-04-04 00:08:51 +0200111config DCACHE_RAM_MRC_VAR_SIZE
112 hex
Arthur Heymans01c83a22019-06-05 13:36:55 +0200113 default 0x9000
Stefan Reinauer00636b02012-04-04 00:08:51 +0200114
Stefan Reinauer00636b02012-04-04 00:08:51 +0200115config MRC_FILE
116 string "Intel System Agent path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200117 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200118 help
119 The path and filename of the file to use as System Agent
120 binary.
121
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300122endif # !USE_NATIVE_RAMINIT
Kyösti Mälkki0306e6a2016-06-23 12:41:40 +0300123
Stefan Reinauer00636b02012-04-04 00:08:51 +0200124endif