Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 1 | # |
| 2 | # From Coreboot src/northbridge/intel/sandybridge/Kconfig |
| 3 | # |
| 4 | # Copyright (C) 2010 Google Inc. |
| 5 | # |
| 6 | # SPDX-License-Identifier: GPL-2.0 |
| 7 | |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 8 | config NORTHBRIDGE_INTEL_IVYBRIDGE |
| 9 | bool |
| 10 | select CACHE_MRC_BIN |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 11 | |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 12 | if NORTHBRIDGE_INTEL_IVYBRIDGE |
| 13 | |
Bin Meng | d475d59 | 2015-11-25 17:46:08 -0800 | [diff] [blame] | 14 | config CACHE_MRC_BIN |
| 15 | bool |
| 16 | default n |
| 17 | |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 18 | config CACHE_MRC_SIZE_KB |
| 19 | int |
| 20 | default 512 |
| 21 | |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 22 | config DCACHE_RAM_BASE |
| 23 | hex |
| 24 | default 0xff7e0000 |
| 25 | |
| 26 | config DCACHE_RAM_SIZE |
| 27 | hex |
| 28 | default 0x20000 |
| 29 | |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 30 | config HAVE_MRC |
| 31 | bool "Add a System Agent binary" |
| 32 | help |
| 33 | Select this option to add a System Agent binary to |
| 34 | the resulting U-Boot image. MRC stands for Memory Reference Code. |
| 35 | It is a binary blob which U-Boot uses to set up SDRAM. |
| 36 | |
| 37 | Note: Without this binary U-Boot will not be able to set up its |
| 38 | SDRAM so will not boot. |
| 39 | |
| 40 | config DCACHE_RAM_MRC_VAR_SIZE |
| 41 | hex |
| 42 | default 0x4000 |
| 43 | help |
| 44 | This is the amount of CAR (Cache as RAM) reserved for use by the |
| 45 | memory reference code. This should be set to 16KB (0x4000 hex) |
| 46 | so that MRC has enough space to run. |
| 47 | |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 48 | config CPU_SPECIFIC_OPTIONS |
| 49 | def_bool y |
| 50 | select SMM_TSEG |
Simon Glass | 65dd74a | 2014-11-12 22:42:28 -0700 | [diff] [blame] | 51 | select X86_RAMTEST |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 52 | |
| 53 | config SMM_TSEG_SIZE |
| 54 | hex |
| 55 | default 0x800000 |
| 56 | |
| 57 | config ENABLE_VMX |
| 58 | bool "Enable VMX for virtualization" |
| 59 | default n |
| 60 | help |
| 61 | Virtual Machine Extensions are provided in many x86 CPUs. These |
| 62 | provide various facilities for allowing a host OS to provide an |
| 63 | environment where potentially several guest OSes have only |
| 64 | limited access to the underlying hardware. This is achieved |
| 65 | without resorting to software trapping and/or instruction set |
| 66 | emulation (which would be very slow). |
| 67 | |
| 68 | Intel's implementation of this is called VT-x. This option enables |
| 69 | VT-x this so that the OS that is booted by U-Boot can make use of |
| 70 | these facilities. If this option is not enabled, then the host OS |
| 71 | will be unable to support virtualisation, or it will run very |
| 72 | slowly. |
| 73 | |
Bin Meng | 4374139 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 74 | config FSP_ADDR |
| 75 | hex |
| 76 | default 0xfff80000 |
| 77 | |
| 78 | config FSP_USE_UPD |
| 79 | bool |
| 80 | default n |
| 81 | |
Bin Meng | a2e3b05 | 2016-02-17 00:16:25 -0800 | [diff] [blame^] | 82 | config FSP_BROKEN_HOB |
| 83 | bool |
| 84 | default y |
| 85 | |
Simon Glass | 8ef0757 | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 86 | endif |