x86: unify amd and non-amd MTRR routines
[coreboot.git] / src / cpu / x86 / Kconfig
blob8f05bf3b0469e4ccebd920c3e31fa81549b841d2
1 config SERIAL_CPU_INIT
2         bool
3         default y
5 config UDELAY_IO
6         bool
7         default y if !UDELAY_LAPIC && !UDELAY_TSC && !UDELAY_TIMER2
8         default n
10 config UDELAY_LAPIC
11         bool
12         default n
14 config UDELAY_LAPIC_FIXED_FSB
15         int
17 config UDELAY_TSC
18         bool
19         default n
21 config UDELAY_TIMER2
22         bool
23         default n
25 config TSC_CALIBRATE_WITH_IO
26         bool
27         default n
29 config TSC_SYNC_LFENCE
30         bool
31         default n
32         help
33           The CPU driver should select this if the CPU needs
34           to execute an lfence instruction in order to synchronize
35           rdtsc. This is true for all modern AMD CPUs.
37 config TSC_SYNC_MFENCE
38         bool
39         default n
40         help
41           The CPU driver should select this if the CPU needs
42           to execute an mfence instruction in order to synchronize
43           rdtsc. This is true for all modern Intel CPUs.
45 config XIP_ROM_SIZE
46         hex
47         default ROM_SIZE if ROMCC
48         default 0x10000
50 config CPU_ADDR_BITS
51         int
52         default 36
54 config LOGICAL_CPUS
55         bool
56         default y
58 config CACHE_ROM
59         bool
60         default n
62 config SMM_TSEG
63         bool
64         default n
66 config SMM_TSEG_SIZE
67         hex
68         default 0
70 config SMM_MODULES
71         bool
72         default n
73         depends on HAVE_SMI_HANDLER
74         select RELOCATABLE_MODULES
75         help
76          If SMM_MODULES is selected then SMM handlers are built as modules.
77          A SMM stub along with a SMM loader/relocator. All the handlers are
78          written in C with stub being the only assembly.
80 config SMM_MODULE_HEAP_SIZE
81         hex
82         default 0x4000
83         depends on SMM_MODULES
84         help
85           This option determines the size of the heap within the SMM handler
86           modules.
88 config X86_AMD_FIXED_MTRRS
89         bool
90         default n
91         help
92           This option informs the MTRR code to use the RdMem and WrMem fields
93           in the fixed MTRR MSRs.