blob: 56abd8fae3556a9b531656a5baf310dd4f97a16e [file] [log] [blame]
Simon Glass8ef07572014-11-12 22:42:07 -07001#
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 Glass8ef07572014-11-12 22:42:07 -07008config NORTHBRIDGE_INTEL_IVYBRIDGE
9 bool
10 select CACHE_MRC_BIN
Simon Glass8ef07572014-11-12 22:42:07 -070011
Simon Glass8ef07572014-11-12 22:42:07 -070012if NORTHBRIDGE_INTEL_IVYBRIDGE
13
Bin Mengd475d592015-11-25 17:46:08 -080014config CACHE_MRC_BIN
15 bool
16 default n
17
Simon Glass8ef07572014-11-12 22:42:07 -070018config CACHE_MRC_SIZE_KB
19 int
20 default 512
21
Simon Glass8ef07572014-11-12 22:42:07 -070022config DCACHE_RAM_BASE
23 hex
24 default 0xff7e0000
25
26config DCACHE_RAM_SIZE
27 hex
28 default 0x20000
29
Simon Glass8ef07572014-11-12 22:42:07 -070030config 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
40config 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 Glass8ef07572014-11-12 22:42:07 -070048config CPU_SPECIFIC_OPTIONS
49 def_bool y
50 select SMM_TSEG
Simon Glass8ef07572014-11-12 22:42:07 -070051 select HAVE_INTEL_ME
Simon Glass65dd74a2014-11-12 22:42:28 -070052 select X86_RAMTEST
Simon Glass8ef07572014-11-12 22:42:07 -070053
54config SMM_TSEG_SIZE
55 hex
56 default 0x800000
57
58config 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
75endif