blob: 177247edc659da91e767b2568d96a6109ff10351 [file] [log] [blame]
Simon Glass0b36ecd2014-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
8
9config NORTHBRIDGE_INTEL_SANDYBRIDGE
10 bool
11 select CACHE_MRC_BIN
12 select CPU_INTEL_MODEL_206AX
13
14config NORTHBRIDGE_INTEL_IVYBRIDGE
15 bool
16 select CACHE_MRC_BIN
17 select CPU_INTEL_MODEL_306AX
18
19if NORTHBRIDGE_INTEL_SANDYBRIDGE
20
21config VGA_BIOS_ID
22 string
23 default "8086,0106"
24
25config CACHE_MRC_SIZE_KB
26 int
27 default 256
28
29config MRC_CACHE_BASE
30 hex
31 default 0xff800000
32
33config MRC_CACHE_LOCATION
34 hex
35 depends on !CHROMEOS
36 default 0x1ec000
37
38config MRC_CACHE_SIZE
39 hex
40 depends on !CHROMEOS
41 default 0x10000
42
43config DCACHE_RAM_BASE
44 hex
45 default 0xff7f0000
46
47config DCACHE_RAM_SIZE
48 hex
49 default 0x10000
50
51endif
52
53if NORTHBRIDGE_INTEL_IVYBRIDGE
54
55config VGA_BIOS_ID
56 string
57 default "8086,0166"
58
59config EXTERNAL_MRC_BLOB
60 bool
61 default n
62
63config CACHE_MRC_SIZE_KB
64 int
65 default 512
66
67config MRC_CACHE_BASE
68 hex
69 default 0xff800000
70
71config MRC_CACHE_LOCATION
72 hex
73 depends on !CHROMEOS
74 default 0x370000
75
76config MRC_CACHE_SIZE
77 hex
78 depends on !CHROMEOS
79 default 0x10000
80
81config DCACHE_RAM_BASE
82 hex
83 default 0xff7e0000
84
85config DCACHE_RAM_SIZE
86 hex
87 default 0x20000
88
89endif
90
91if NORTHBRIDGE_INTEL_SANDYBRIDGE || NORTHBRIDGE_INTEL_IVYBRIDGE
92
93config HAVE_MRC
94 bool "Add a System Agent binary"
95 help
96 Select this option to add a System Agent binary to
97 the resulting U-Boot image. MRC stands for Memory Reference Code.
98 It is a binary blob which U-Boot uses to set up SDRAM.
99
100 Note: Without this binary U-Boot will not be able to set up its
101 SDRAM so will not boot.
102
103config DCACHE_RAM_MRC_VAR_SIZE
104 hex
105 default 0x4000
106 help
107 This is the amount of CAR (Cache as RAM) reserved for use by the
108 memory reference code. This should be set to 16KB (0x4000 hex)
109 so that MRC has enough space to run.
110
111config MRC_FILE
112 string "Intel System Agent path and filename"
113 depends on HAVE_MRC
114 default "systemagent-ivybridge.bin" if NORTHBRIDGE_INTEL_IVYBRIDGE
115 default "systemagent-sandybridge.bin" if NORTHBRIDGE_INTEL_SANDYBRIDGE
116 help
117 The path and filename of the file to use as System Agent
118 binary.
119
120config CPU_SPECIFIC_OPTIONS
121 def_bool y
122 select SMM_TSEG
123 select ARCH_BOOTBLOCK_X86_32
124 select ARCH_ROMSTAGE_X86_32
125 select ARCH_RAMSTAGE_X86_32
126 select SMP
127 select SSE2
128 select UDELAY_LAPIC
129 select CPU_MICROCODE_IN_CBFS
130 select TSC_SYNC_MFENCE
131 select HAVE_INTEL_ME
132
133config SMM_TSEG_SIZE
134 hex
135 default 0x800000
136
137config ENABLE_VMX
138 bool "Enable VMX for virtualization"
139 default n
140 help
141 Virtual Machine Extensions are provided in many x86 CPUs. These
142 provide various facilities for allowing a host OS to provide an
143 environment where potentially several guest OSes have only
144 limited access to the underlying hardware. This is achieved
145 without resorting to software trapping and/or instruction set
146 emulation (which would be very slow).
147
148 Intel's implementation of this is called VT-x. This option enables
149 VT-x this so that the OS that is booted by U-Boot can make use of
150 these facilities. If this option is not enabled, then the host OS
151 will be unable to support virtualisation, or it will run very
152 slowly.
153
154endif
155
156config CPU_INTEL_SOCKET_RPGA989
157 bool
158
159if CPU_INTEL_SOCKET_RPGA989
160
161config SOCKET_SPECIFIC_OPTIONS # dummy
162 def_bool y
163 select MMX
164 select SSE
165 select CACHE_AS_RAM
166
167config CACHE_MRC_BIN
168 bool
169 default n
170
171endif