Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 1 | ## |
| 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 Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 15 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 16 | |
Alexandru Gagniuc | ecf2eb4 | 2015-09-28 21:39:12 -0700 | [diff] [blame] | 17 | config NORTHBRIDGE_INTEL_SANDYBRIDGE |
Vladimir Serbinenko | 309fc4c | 2014-08-24 22:35:29 +0200 | [diff] [blame] | 18 | bool |
Arthur Heymans | 7539b8c | 2017-12-24 10:42:57 +0100 | [diff] [blame] | 19 | select CACHE_MRC_SETTINGS |
Vladimir Serbinenko | 309fc4c | 2014-08-24 22:35:29 +0200 | [diff] [blame] | 20 | select CPU_INTEL_MODEL_206AX |
| 21 | select HAVE_DEBUG_RAM_SETUP |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 22 | select INTEL_GMA_ACPI |
Kyösti Mälkki | bfca670 | 2016-07-22 22:48:35 +0300 | [diff] [blame] | 23 | select RELOCATABLE_RAMSTAGE |
Vladimir Serbinenko | 309fc4c | 2014-08-24 22:35:29 +0200 | [diff] [blame] | 24 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 25 | config NORTHBRIDGE_INTEL_IVYBRIDGE |
| 26 | bool |
Arthur Heymans | 7539b8c | 2017-12-24 10:42:57 +0100 | [diff] [blame] | 27 | select CACHE_MRC_SETTINGS |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 28 | select CPU_INTEL_MODEL_306AX |
Vladimir Serbinenko | 7686a56 | 2014-05-18 11:05:56 +0200 | [diff] [blame] | 29 | select HAVE_DEBUG_RAM_SETUP |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 30 | select INTEL_GMA_ACPI |
Kyösti Mälkki | bfca670 | 2016-07-22 22:48:35 +0300 | [diff] [blame] | 31 | select RELOCATABLE_RAMSTAGE |
Vladimir Serbinenko | 7686a56 | 2014-05-18 11:05:56 +0200 | [diff] [blame] | 32 | |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 33 | if NORTHBRIDGE_INTEL_IVYBRIDGE || NORTHBRIDGE_INTEL_SANDYBRIDGE |
| 34 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 35 | config VBOOT |
| 36 | select VBOOT_STARTS_IN_ROMSTAGE |
| 37 | |
Vladimir Serbinenko | 144eea0 | 2016-02-10 02:36:04 +0100 | [diff] [blame] | 38 | config USE_NATIVE_RAMINIT |
| 39 | bool "Use native raminit" |
| 40 | default y |
| 41 | help |
| 42 | Select if you want to use coreboot implementation of raminit rather than |
| 43 | System Agent/MRC.bin. You should answer Y. |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 44 | |
Patrick Rudolph | b794a69 | 2017-08-08 13:13:51 +0200 | [diff] [blame] | 45 | config NATIVE_RAMINIT_IGNORE_MAX_MEM_FUSES |
| 46 | bool "Ignore vendor programmed fuses that limit max. DRAM frequency" |
| 47 | default n |
| 48 | depends on USE_NATIVE_RAMINIT |
| 49 | help |
| 50 | Ignore the mainboard's vendor programmed fuses that might limit the |
| 51 | maximum DRAM frequency. By selecting this option the fuses will be |
| 52 | ignored and the only limits on DRAM frequency are set by RAM's SPD and |
| 53 | hard fuses in southbridge's clockgen. |
| 54 | Disabled by default as it might causes system instability. |
| 55 | Handle with care! |
| 56 | |
Vagiz Trakhanov | 771be48 | 2017-10-02 10:02:35 +0000 | [diff] [blame] | 57 | config NATIVE_RAMINIT_IGNORE_XMP_MAX_DIMMS |
| 58 | bool "Ignore XMP profile max DIMMs per channel" |
| 59 | default n |
| 60 | depends on USE_NATIVE_RAMINIT |
| 61 | help |
| 62 | Ignore the max DIMMs per channel restriciton defined in XMP profiles. |
| 63 | Disabled by default as it might cause system instability. |
| 64 | Handle with care! |
| 65 | |
Martin Roth | 59ff340 | 2016-02-09 09:06:46 -0700 | [diff] [blame] | 66 | config CBFS_SIZE |
| 67 | hex |
| 68 | default 0x100000 |
| 69 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 70 | config VGA_BIOS_ID |
| 71 | string |
| 72 | default "8086,0106" |
| 73 | |
| 74 | config CACHE_MRC_SIZE_KB |
| 75 | int |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 76 | default 512 |
| 77 | |
Iru Cai | 8e7928a | 2015-10-18 23:40:34 +0800 | [diff] [blame] | 78 | config SANDYBRIDGE_IVYBRIDGE_LVDS |
Vladimir Serbinenko | b2eea81 | 2016-02-09 21:50:45 +0100 | [diff] [blame] | 79 | def_bool n |
Kyösti Mälkki | 8f3aaa8 | 2016-05-16 14:49:57 +0300 | [diff] [blame] | 80 | select VGA |
Vladimir Serbinenko | b2eea81 | 2016-02-09 21:50:45 +0100 | [diff] [blame] | 81 | select MAINBOARD_HAS_NATIVE_VGA_INIT |
Vladimir Serbinenko | b2eea81 | 2016-02-09 21:50:45 +0100 | [diff] [blame] | 82 | |
Nico Huber | d4ebeaf | 2017-05-22 13:49:22 +0200 | [diff] [blame] | 83 | config IF_NATIVE_VGA_INIT |
| 84 | def_bool y |
| 85 | depends on MAINBOARD_DO_NATIVE_VGA_INIT |
Vladimir Serbinenko | b2eea81 | 2016-02-09 21:50:45 +0100 | [diff] [blame] | 86 | select VGA |
| 87 | select INTEL_EDID |
Nico Huber | 7971582e | 2017-05-20 01:07:48 +0200 | [diff] [blame] | 88 | select HAVE_LINEAR_FRAMEBUFFER |
Nico Huber | ce642f0 | 2017-05-19 15:08:21 +0200 | [diff] [blame] | 89 | select HAVE_VGA_TEXT_FRAMEBUFFER |
Vladimir Serbinenko | 9ba922f | 2014-08-24 22:38:07 +0200 | [diff] [blame] | 90 | |
Kyösti Mälkki | 9551bed | 2016-07-20 10:49:38 +0300 | [diff] [blame] | 91 | config BOOTBLOCK_NORTHBRIDGE_INIT |
| 92 | string |
| 93 | default "northbridge/intel/sandybridge/bootblock.c" |
| 94 | |
Nico Huber | 2b5c021 | 2017-07-29 01:10:49 +0200 | [diff] [blame] | 95 | config MMCONF_BASE_ADDRESS |
| 96 | hex |
Nico Huber | 2b5c021 | 2017-07-29 01:10:49 +0200 | [diff] [blame] | 97 | default 0xf0000000 |
| 98 | help |
Arthur Heymans | 742a0e9 | 2018-01-29 16:34:46 +0100 | [diff] [blame] | 99 | The MRC blob requires it to be at 0xf0000000. |
Nico Huber | 2b5c021 | 2017-07-29 01:10:49 +0200 | [diff] [blame] | 100 | |
Kyösti Mälkki | 9551bed | 2016-07-20 10:49:38 +0300 | [diff] [blame] | 101 | if USE_NATIVE_RAMINIT |
| 102 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 103 | config DCACHE_RAM_BASE |
| 104 | hex |
Kyösti Mälkki | 9551bed | 2016-07-20 10:49:38 +0300 | [diff] [blame] | 105 | default 0xfefe0000 |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 106 | |
| 107 | config DCACHE_RAM_SIZE |
| 108 | hex |
| 109 | default 0x20000 |
| 110 | |
Kyösti Mälkki | 9551bed | 2016-07-20 10:49:38 +0300 | [diff] [blame] | 111 | config DCACHE_RAM_MRC_VAR_SIZE |
| 112 | hex |
| 113 | default 0x0 |
| 114 | |
| 115 | endif # USE_NATIVE_RAMINIT |
| 116 | |
| 117 | if !USE_NATIVE_RAMINIT |
| 118 | |
| 119 | config DCACHE_RAM_BASE |
| 120 | hex |
| 121 | default 0xff7e0000 |
| 122 | |
| 123 | config DCACHE_RAM_SIZE |
| 124 | hex |
| 125 | default 0x1c000 |
Kyösti Mälkki | fbdb085 | 2013-07-01 11:21:53 +0300 | [diff] [blame] | 126 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 127 | config DCACHE_RAM_MRC_VAR_SIZE |
| 128 | hex |
| 129 | default 0x4000 |
| 130 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 131 | config MRC_FILE |
| 132 | string "Intel System Agent path and filename" |
Patrick Georgi | 26e24cc | 2015-05-05 22:27:25 +0200 | [diff] [blame] | 133 | default "3rdparty/blobs/northbridge/intel/sandybridge/systemagent-r6.bin" |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 134 | help |
| 135 | The path and filename of the file to use as System Agent |
| 136 | binary. |
| 137 | |
Kyösti Mälkki | 9551bed | 2016-07-20 10:49:38 +0300 | [diff] [blame] | 138 | endif # !USE_NATIVE_RAMINIT |
Kyösti Mälkki | 0306e6a | 2016-06-23 12:41:40 +0300 | [diff] [blame] | 139 | |
Stefan Reinauer | 00636b0 | 2012-04-04 00:08:51 +0200 | [diff] [blame] | 140 | endif |