Make AMD Fam10h CPU microcode updates optional in Expert mode
[coreboot.git] / src / cpu / amd / model_10xxx / Kconfig
1 config CPU_AMD_MODEL_10XXX
2         bool
3         select SSE
4         select SSE2
5
6 if CPU_AMD_MODEL_10XXX
7 config CPU_ADDR_BITS
8         int
9         default 48
10
11 config DCACHE_RAM_BASE
12         hex
13         default 0xc4000
14
15 config DCACHE_RAM_SIZE
16         hex
17         default 0x0c000
18
19 config DCACHE_RAM_GLOBAL_VAR_SIZE
20         hex
21         default 0x04000
22
23 config UDELAY_IO
24         bool
25         default n
26
27 config SET_FIDVID
28         bool
29         default y
30
31 if SET_FIDVID
32 config SET_FIDVID_DEBUG
33         bool
34         default y
35
36 config SET_FIDVID_STORE_AP_APICID_AT_FIRST
37         bool
38         default y
39
40 config SET_FIDVID_CORE0_ONLY
41         bool
42         default n
43
44 # 0: all cores
45 # 1: core 0 only
46 # 2: all but core 0
47 config SET_FIDVID_CORE_RANGE
48         int
49         default 0
50
51 endif
52 endif
53
54 config UPDATE_CPU_MICROCODE
55         bool
56         default y
57
58 config UPDATE_CPU_MICROCODE
59         bool "Update CPU microcode"
60         default y
61         depends on EXPERT && CPU_AMD_MODEL_10XXX
62         help
63           Select this to apply patches to the CPU microcode provided by
64           AMD without source, and distributed with coreboot, to address
65           issues in the CPU post production.
66
67           Microcode updates distributed with coreboot are not necessarily
68           the latest version available from AMD. Updates are only applied
69           if they are newer than the microcode already in your CPU.
70
71           Unselect this to let Fam10h CPUs run with microcode as shipped
72           from factory. No binary microcode patches will be included in the
73           coreboot image in that case, which can help with creating an image
74           for which complete source code is available, which in turn might
75           simplify license compliance.
76
77           Microcode updates intend to solve issues that have been discovered
78           after CPU production. The common case is that systems work as
79           intended with updated microcode, but we have also seen cases where
80           issues were solved by not applying the microcode updates.
81
82           Note that some operating system include these same microcode
83           patches, so you may need to also disable microcode updates in
84           your operating system in order for this option to matter.