blob: 1768a26a35293cb840cfb54f5565c174ef65d1a0 [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 Glass65dd74a2014-11-12 22:42:28 -070051 select X86_RAMTEST
Simon Glass8ef07572014-11-12 22:42:07 -070052
53config SMM_TSEG_SIZE
54 hex
55 default 0x800000
56
57config 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
74endif