310f98de91234b3bf3691b4c8a00fc3aa4fd181c
[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   # SET_FIDVID
52
53 config UPDATE_CPU_MICROCODE
54         bool
55         default y
56
57 config UPDATE_CPU_MICROCODE
58         bool "Update CPU microcode"
59         default y
60         depends on EXPERT && CPU_AMD_MODEL_10XXX
61         help
62           Select this to apply patches to the CPU microcode provided by
63           AMD without source, and distributed with coreboot, to address
64           issues in the CPU post production.
65
66           Microcode updates distributed with coreboot are not necessarily
67           the latest version available from AMD. Updates are only applied
68           if they are newer than the microcode already in your CPU.
69
70           Unselect this to let Fam10h CPUs run with microcode as shipped
71           from factory. No binary microcode patches will be included in the
72           coreboot image in that case, which can help with creating an image
73           for which complete source code is available, which in turn might
74           simplify license compliance.
75
76           Microcode updates intend to solve issues that have been discovered
77           after CPU production. The common case is that systems work as
78           intended with updated microcode, but we have also seen cases where
79           issues were solved by not applying the microcode updates.
80
81           Note that some operating system include these same microcode
82           patches, so you may need to also disable microcode updates in
83           your operating system in order for this option to matter.
84
85 select MMCONF_SUPPORT_DEFAULT
86
87 endif   # CPU_AMD_MODEL_10XXX