Fix Fam10 MMCONF_SUPPORT_DEFAULT setting.
[coreboot.git] / src / cpu / amd / model_10xxx / Kconfig
index 9d31c27239561c74691cf2e65b4099a613141425..221d0449ac5f4157805f35f090d718d6b790f36f 100644 (file)
@@ -1,43 +1,86 @@
 config CPU_AMD_MODEL_10XXX
        bool
+       select SSE
+       select SSE2
+       select MMCONF_SUPPORT_DEFAULT
 
-config HAVE_INIT_TIMER
+if CPU_AMD_MODEL_10XXX
+config CPU_ADDR_BITS
+       int
+       default 48
+
+config DCACHE_RAM_BASE
+       hex
+       default 0xc4000
+
+config DCACHE_RAM_SIZE
+       hex
+       default 0x0c000
+
+config DCACHE_RAM_GLOBAL_VAR_SIZE
+       hex
+       default 0x04000
+
+config UDELAY_IO
+       bool
+       default n
+
+config SET_FIDVID
        bool
        default y
-       depends on CPU_AMD_MODEL_10XXX
 
-config HAVE_MOVNTI
+if SET_FIDVID
+config SET_FIDVID_DEBUG
        bool
        default y
-       depends on CPU_AMD_MODEL_10XXX
 
-config CPU_ADDR_BITS
+config SET_FIDVID_STORE_AP_APICID_AT_FIRST
+       bool
+       default y
+
+config SET_FIDVID_CORE0_ONLY
+       bool
+       default n
+
+# 0: all cores
+# 1: core 0 only
+# 2: all but core 0
+config SET_FIDVID_CORE_RANGE
        int
-       default 48
-       depends on CPU_AMD_MODEL_10XXX
+       default 0
 
-config USE_PRINTK_IN_CAR
+endif  # SET_FIDVID
+
+config UPDATE_CPU_MICROCODE
        bool
        default y
-       depends on CPU_AMD_MODEL_10XXX
 
-config USE_DCACHE_RAM
-       bool
+config UPDATE_CPU_MICROCODE
+       bool "Update CPU microcode"
        default y
-       depends on CPU_AMD_MODEL_10XXX
+       depends on EXPERT && CPU_AMD_MODEL_10XXX
+       help
+         Select this to apply patches to the CPU microcode provided by
+         AMD without source, and distributed with coreboot, to address
+         issues in the CPU post production.
 
-config DCACHE_RAM_BASE
-       hex
-       default 0xc8000
-       depends on CPU_AMD_MODEL_10XXX
+         Microcode updates distributed with coreboot are not necessarily
+         the latest version available from AMD. Updates are only applied
+         if they are newer than the microcode already in your CPU.
 
-config DCACHE_RAM_SIZE
-       hex
-       default 0x08000
-       depends on CPU_AMD_MODEL_10XXX
+         Unselect this to let Fam10h CPUs run with microcode as shipped
+         from factory. No binary microcode patches will be included in the
+         coreboot image in that case, which can help with creating an image
+         for which complete source code is available, which in turn might
+         simplify license compliance.
 
-config DCACHE_RAM_GLOBAL_VAR_SIZE
-       hex
-       default 0x01000
-       depends on CPU_AMD_MODEL_10XXX
+         Microcode updates intend to solve issues that have been discovered
+         after CPU production. The common case is that systems work as
+         intended with updated microcode, but we have also seen cases where
+         issues were solved by not applying the microcode updates.
+
+         Note that some operating system include these same microcode
+         patches, so you may need to also disable microcode updates in
+         your operating system in order for this option to matter.
 
+endif  # CPU_AMD_MODEL_10XXX