blob: 8e902478ccd71279ee0f087a8928d26de73be569 [file] [log] [blame]
Patrick Georgi5726f922009-10-08 07:43:09 +00001config CPU_AMD_MODEL_10XXX
2 bool
Furquan Shaikh99ac98f2014-04-23 10:18:48 -07003 select ARCH_BOOTBLOCK_X86_32
Stefan Reinauer77b16552015-01-14 19:51:47 +01004 select ARCH_VERSTAGE_X86_32
Furquan Shaikh99ac98f2014-04-23 10:18:48 -07005 select ARCH_ROMSTAGE_X86_32
6 select ARCH_RAMSTAGE_X86_32
Patrick Georgi1bb68282009-12-31 12:56:53 +00007 select SSE
Stefan Reinauera7acc512010-02-25 13:40:49 +00008 select SSE2
Stefan Reinauer0db68202012-08-07 14:44:51 -07009 select TSC_SYNC_LFENCE
Patrick Georgie135ac52012-11-20 11:53:47 +010010 select UDELAY_LAPIC
Timothy Pearsona2f79d52015-02-16 23:24:26 -060011 select HAVE_MONOTONIC_TIMER
Kyösti Mälkki5fe1fb7a2013-12-08 07:21:05 +020012 select SUPPORT_CPU_UCODE_IN_CBFS
Arthur Heymans4089a172016-06-19 03:22:37 +020013 select CPU_MICROCODE_MULTIPLE_FILES if !CPU_MICROCODE_CBFS_NONE
Kyösti Mälkki43e9c932016-11-10 11:50:21 +020014 select ACPI_HUGE_LOWMEM_BACKUP
Patrick Georgi5726f922009-10-08 07:43:09 +000015
Patrick Georgi76e81522010-11-16 21:25:29 +000016if CPU_AMD_MODEL_10XXX
Kyösti Mälkki8b95c132013-07-07 11:30:48 +030017
Timothy Pearson323a2af2015-07-24 17:34:29 -050018config USE_LARGE_DCACHE
19 bool
20 default y if CPU_AMD_SOCKET_G34_NON_AGESA
Damien Zammitffc31d02016-02-10 13:59:21 +110021 default y if CPU_AMD_SOCKET_FM2_NON_AGESA
Timothy Pearson323a2af2015-07-24 17:34:29 -050022 default y if CPU_AMD_SOCKET_C32_NON_AGESA
23 default n
24
Ronald G. Minnichb5e777c2013-07-22 20:17:18 +020025config NUM_IPI_STARTS
26 int
27 default 1
28
Patrick Georgi5726f922009-10-08 07:43:09 +000029config CPU_ADDR_BITS
30 int
31 default 48
Patrick Georgi5726f922009-10-08 07:43:09 +000032
Patrick Georgi5726f922009-10-08 07:43:09 +000033config DCACHE_RAM_BASE
34 hex
Myles Watson3db199c2009-10-12 22:39:08 +000035 default 0xc4000
Patrick Georgi5726f922009-10-08 07:43:09 +000036
37config DCACHE_RAM_SIZE
38 hex
Myles Watson3db199c2009-10-12 22:39:08 +000039 default 0x0c000
Patrick Georgi5726f922009-10-08 07:43:09 +000040
Timothy Pearsonb5e46552015-06-02 13:47:36 -050041config DCACHE_BSP_STACK_SIZE
42 hex
Timothy Pearson8bd1c362015-06-02 20:18:44 -050043 default 0x4000
Timothy Pearsonb5e46552015-06-02 13:47:36 -050044
Timothy Pearsonfb39f822015-06-02 20:25:03 -050045config DCACHE_BSP_STACK_SLUSH
46 hex
Timothy Pearson323a2af2015-07-24 17:34:29 -050047 default 0x4000 if USE_LARGE_DCACHE
Timothy Pearsonfb39f822015-06-02 20:25:03 -050048 default 0x1000
49
Timothy Pearsonb5e46552015-06-02 13:47:36 -050050config DCACHE_AP_STACK_SIZE
51 hex
Timothy Pearson0df70462015-11-24 14:11:58 -060052 default 0x500
Timothy Pearsonb5e46552015-06-02 13:47:36 -050053
Patrick Georgi76e81522010-11-16 21:25:29 +000054config SET_FIDVID
55 bool
56 default y
57
Kyösti Mälkki46b09512014-04-17 15:07:47 +030058config MAX_PHYSICAL_CPUS
59 int
60 default 1
61
Stefan Reinauer95a63962012-11-13 17:00:01 -080062config LIFT_BSP_APIC_ID
63 bool
64 default n
65
Patrick Georgi76e81522010-11-16 21:25:29 +000066if SET_FIDVID
67config SET_FIDVID_DEBUG
68 bool
69 default y
70
71config SET_FIDVID_STORE_AP_APICID_AT_FIRST
72 bool
73 default y
74
75config SET_FIDVID_CORE0_ONLY
76 bool
77 default n
78
79# 0: all cores
80# 1: core 0 only
81# 2: all but core 0
82config SET_FIDVID_CORE_RANGE
83 int
84 default 0
85
Marc Jones90ca14d2011-11-23 17:49:19 -070086endif # SET_FIDVID
Xavi Drudis Ferran4c28a6f2011-02-26 23:29:44 +000087
Patrick Georgie135ac52012-11-20 11:53:47 +010088config UDELAY_LAPIC_FIXED_FSB
89 int
90 default 200
91
Marc Jones90ca14d2011-11-23 17:49:19 -070092endif # CPU_AMD_MODEL_10XXX