summaryrefslogtreecommitdiff
path: root/src/cpu/amd/family_10h-family_15h/Kconfig
blob: 1039a8d6aed9c03da7c5abd2a56519a14b63c654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
config CPU_AMD_MODEL_10XXX
	bool
	select ARCH_BOOTBLOCK_X86_32
	select ARCH_VERSTAGE_X86_32
	select ARCH_ROMSTAGE_X86_32
	select ARCH_RAMSTAGE_X86_32
	select SSE2
	select TSC_SYNC_LFENCE
	select UDELAY_LAPIC
	select SUPPORT_CPU_UCODE_IN_CBFS
	select CPU_MICROCODE_MULTIPLE_FILES
	select CAR_GLOBAL_MIGRATION
	select ACPI_HUGE_LOWMEM_BACKUP

if CPU_AMD_MODEL_10XXX

config USE_LARGE_DCACHE
	bool
	default y if CPU_AMD_SOCKET_G34_NON_AGESA
	default y if CPU_AMD_SOCKET_FM2_NON_AGESA
	default y if CPU_AMD_SOCKET_C32_NON_AGESA
	default n

config NUM_IPI_STARTS
	int
	default 1

config CPU_ADDR_BITS
	int
	default 48

config DCACHE_RAM_BASE
	hex
	default 0xc4000

config DCACHE_RAM_SIZE
	hex
	default 0x0c000

config DCACHE_BSP_STACK_SIZE
	hex
	default 0x4000

config DCACHE_BSP_STACK_SLUSH
	hex
	default 0x4000 if USE_LARGE_DCACHE
	default 0x1000

config DCACHE_AP_STACK_SIZE
	hex
	default 0x500

config SET_FIDVID
	bool
	default y

config MAX_PHYSICAL_CPUS
	int
	default 1

config LIFT_BSP_APIC_ID
	bool
	default n

if SET_FIDVID
config SET_FIDVID_DEBUG
	bool
	default y

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 0

endif	# SET_FIDVID

config UDELAY_LAPIC_FIXED_FSB
	int
	default 200

endif	# CPU_AMD_MODEL_10XXX