blob: 59cf92c0eebeb14c9558255405b1d83fdc943964 [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
Arthur Heymans6fcd7b82018-06-03 12:16:24 +020023 select POSTCAR_STAGE
24 select POSTCAR_CONSOLE
Vladimir Serbinenko309fc4c2014-08-24 22:35:29 +020025
Nico Huber772a1542019-05-10 16:48:14 +020026if NORTHBRIDGE_INTEL_SANDYBRIDGE
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010027
Julius Werner1210b412017-03-27 19:26:32 -070028config VBOOT
29 select VBOOT_STARTS_IN_ROMSTAGE
30
Vladimir Serbinenko144eea02016-02-10 02:36:04 +010031config USE_NATIVE_RAMINIT
32 bool "Use native raminit"
33 default y
34 help
35 Select if you want to use coreboot implementation of raminit rather than
36 System Agent/MRC.bin. You should answer Y.
Stefan Reinauer00636b02012-04-04 00:08:51 +020037
Patrick Rudolphb794a692017-08-08 13:13:51 +020038config NATIVE_RAMINIT_IGNORE_MAX_MEM_FUSES
39 bool "Ignore vendor programmed fuses that limit max. DRAM frequency"
40 default n
41 depends on USE_NATIVE_RAMINIT
42 help
43 Ignore the mainboard's vendor programmed fuses that might limit the
44 maximum DRAM frequency. By selecting this option the fuses will be
45 ignored and the only limits on DRAM frequency are set by RAM's SPD and
46 hard fuses in southbridge's clockgen.
47 Disabled by default as it might causes system instability.
48 Handle with care!
49
Vagiz Trakhanov771be482017-10-02 10:02:35 +000050config NATIVE_RAMINIT_IGNORE_XMP_MAX_DIMMS
51 bool "Ignore XMP profile max DIMMs per channel"
52 default n
53 depends on USE_NATIVE_RAMINIT
54 help
55 Ignore the max DIMMs per channel restriciton defined in XMP profiles.
56 Disabled by default as it might cause system instability.
57 Handle with care!
58
Martin Roth59ff3402016-02-09 09:06:46 -070059config CBFS_SIZE
60 hex
61 default 0x100000
62
Stefan Reinauer00636b02012-04-04 00:08:51 +020063config VGA_BIOS_ID
64 string
65 default "8086,0106"
66
67config CACHE_MRC_SIZE_KB
68 int
Stefan Reinauer00636b02012-04-04 00:08:51 +020069 default 512
70
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030071config BOOTBLOCK_NORTHBRIDGE_INIT
72 string
73 default "northbridge/intel/sandybridge/bootblock.c"
74
Nico Huber2b5c0212017-07-29 01:10:49 +020075config MMCONF_BASE_ADDRESS
76 hex
Nico Huber2b5c0212017-07-29 01:10:49 +020077 default 0xf0000000
78 help
Arthur Heymans742a0e92018-01-29 16:34:46 +010079 The MRC blob requires it to be at 0xf0000000.
Nico Huber2b5c0212017-07-29 01:10:49 +020080
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
Arthur Heymans01c83a22019-06-05 13:36:55 +020085
86if USE_NATIVE_RAMINIT
87
Stefan Reinauer00636b02012-04-04 00:08:51 +020088config DCACHE_RAM_SIZE
89 hex
90 default 0x20000
91
Kyösti Mälkki9551bed2016-07-20 10:49:38 +030092config DCACHE_RAM_MRC_VAR_SIZE
93 hex
94 default 0x0
95
96endif # USE_NATIVE_RAMINIT
97
98if !USE_NATIVE_RAMINIT
99
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300100config DCACHE_RAM_SIZE
101 hex
Arthur Heymans01c83a22019-06-05 13:36:55 +0200102 default 0x17000
Kyösti Mälkkifbdb0852013-07-01 11:21:53 +0300103
Stefan Reinauer00636b02012-04-04 00:08:51 +0200104config DCACHE_RAM_MRC_VAR_SIZE
105 hex
Arthur Heymans01c83a22019-06-05 13:36:55 +0200106 default 0x9000
Stefan Reinauer00636b02012-04-04 00:08:51 +0200107
Stefan Reinauer00636b02012-04-04 00:08:51 +0200108config MRC_FILE
109 string "Intel System Agent path and filename"
Patrick Georgi26e24cc2015-05-05 22:27:25 +0200110 default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin"
Stefan Reinauer00636b02012-04-04 00:08:51 +0200111 help
112 The path and filename of the file to use as System Agent
113 binary.
114
Kyösti Mälkki9551bed2016-07-20 10:49:38 +0300115endif # !USE_NATIVE_RAMINIT
Kyösti Mälkki0306e6a2016-06-23 12:41:40 +0300116
Stefan Reinauer00636b02012-04-04 00:08:51 +0200117endif