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 | |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 14 | config CACHE_MRC_SIZE_KB |
| 15 | int |
| 16 | default 512 |
| 17 | |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 18 | config DCACHE_RAM_BASE |
| 19 | hex |
| 20 | default 0xff7e0000 |
| 21 | |
| 22 | config DCACHE_RAM_SIZE |
| 23 | hex |
| 24 | default 0x20000 |
| 25 | |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 26 | config HAVE_MRC |
| 27 | bool "Add a System Agent binary" |
| 28 | help |
| 29 | Select this option to add a System Agent binary to |
| 30 | the resulting U-Boot image. MRC stands for Memory Reference Code. |
| 31 | It is a binary blob which U-Boot uses to set up SDRAM. |
| 32 | |
| 33 | Note: Without this binary U-Boot will not be able to set up its |
| 34 | SDRAM so will not boot. |
| 35 | |
| 36 | config DCACHE_RAM_MRC_VAR_SIZE |
| 37 | hex |
| 38 | default 0x4000 |
| 39 | help |
| 40 | This is the amount of CAR (Cache as RAM) reserved for use by the |
| 41 | memory reference code. This should be set to 16KB (0x4000 hex) |
| 42 | so that MRC has enough space to run. |
| 43 | |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 44 | config CPU_SPECIFIC_OPTIONS |
| 45 | def_bool y |
| 46 | select SMM_TSEG |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 47 | select HAVE_INTEL_ME |
Simon Glass | 268eefd | 2014-11-12 22:42:28 -0700 | [diff] [blame] | 48 | select X86_RAMTEST |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 49 | |
| 50 | config SMM_TSEG_SIZE |
| 51 | hex |
| 52 | default 0x800000 |
| 53 | |
| 54 | config ENABLE_VMX |
| 55 | bool "Enable VMX for virtualization" |
| 56 | default n |
| 57 | help |
| 58 | Virtual Machine Extensions are provided in many x86 CPUs. These |
| 59 | provide various facilities for allowing a host OS to provide an |
| 60 | environment where potentially several guest OSes have only |
| 61 | limited access to the underlying hardware. This is achieved |
| 62 | without resorting to software trapping and/or instruction set |
| 63 | emulation (which would be very slow). |
| 64 | |
| 65 | Intel's implementation of this is called VT-x. This option enables |
| 66 | VT-x this so that the OS that is booted by U-Boot can make use of |
| 67 | these facilities. If this option is not enabled, then the host OS |
| 68 | will be unable to support virtualisation, or it will run very |
| 69 | slowly. |
| 70 | |
| 71 | endif |
| 72 | |
| 73 | config CPU_INTEL_SOCKET_RPGA989 |
| 74 | bool |
| 75 | |
| 76 | if CPU_INTEL_SOCKET_RPGA989 |
| 77 | |
Simon Glass | 0b36ecd | 2014-11-12 22:42:07 -0700 | [diff] [blame] | 78 | config CACHE_MRC_BIN |
| 79 | bool |
| 80 | default n |
| 81 | |
| 82 | endif |