Simon Glass | 0b36ecd | 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 | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 8 | config NORTHBRIDGE_INTEL_IVYBRIDGE |
| 9 | bool |
| 10 | select CACHE_MRC_BIN |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 11 | |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 12 | if NORTHBRIDGE_INTEL_IVYBRIDGE |
| 13 | |
Bin Meng | 55af71f | 2015-11-25 17:46:08 -0800 | [diff] [blame^] | 14 | config CACHE_MRC_BIN |
| 15 | bool |
| 16 | default n |
| 17 | |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 18 | config CACHE_MRC_SIZE_KB |
| 19 | int |
| 20 | default 512 |
| 21 | |
Simon Glass | 0b36ecd | 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 | 0b36ecd | 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 | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 48 | config CPU_SPECIFIC_OPTIONS |
| 49 | def_bool y |
| 50 | select SMM_TSEG |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 51 | select HAVE_INTEL_ME |
Simon Glass | 268eefd | 2014-11-12 22:42:28 -0700 | [diff] [blame] | 52 | select X86_RAMTEST |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 53 | |
| 54 | config SMM_TSEG_SIZE |
| 55 | hex |
| 56 | default 0x800000 |
| 57 | |
| 58 | config ENABLE_VMX |
| 59 | bool "Enable VMX for virtualization" |
| 60 | default n |
| 61 | help |
| 62 | Virtual Machine Extensions are provided in many x86 CPUs. These |
| 63 | provide various facilities for allowing a host OS to provide an |
| 64 | environment where potentially several guest OSes have only |
| 65 | limited access to the underlying hardware. This is achieved |
| 66 | without resorting to software trapping and/or instruction set |
| 67 | emulation (which would be very slow). |
| 68 | |
| 69 | Intel's implementation of this is called VT-x. This option enables |
| 70 | VT-x this so that the OS that is booted by U-Boot can make use of |
| 71 | these facilities. If this option is not enabled, then the host OS |
| 72 | will be unable to support virtualisation, or it will run very |
| 73 | slowly. |
| 74 | |
| 75 | endif |