blob: bfb675187e40382086cc14ab9ad3d321977d6235 [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
Marc Jones79cfe7e2011-12-14 15:33:33 -07009 select MMCONF_SUPPORT_DEFAULT
Stefan Reinauer0db68202012-08-07 14:44:51 -070010 select TSC_SYNC_LFENCE
Patrick Georgie135ac52012-11-20 11:53:47 +010011 select UDELAY_LAPIC
Timothy Pearsona2f79d52015-02-16 23:24:26 -060012 select HAVE_MONOTONIC_TIMER
Kyösti Mälkki5fe1fb7a2013-12-08 07:21:05 +020013 select SUPPORT_CPU_UCODE_IN_CBFS
Timothy Pearson24e6d042015-10-08 16:58:58 -050014 select CPU_MICROCODE_MULTIPLE_FILES
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
21 default y if CPU_AMD_SOCKET_C32_NON_AGESA
22 default n
23
Ronald G. Minnichb5e777c2013-07-22 20:17:18 +020024config NUM_IPI_STARTS
25 int
26 default 1
27
Patrick Georgi5726f922009-10-08 07:43:09 +000028config CPU_ADDR_BITS
29 int
30 default 48
Patrick Georgi5726f922009-10-08 07:43:09 +000031
Patrick Georgi5726f922009-10-08 07:43:09 +000032config DCACHE_RAM_BASE
33 hex
Myles Watson3db199c2009-10-12 22:39:08 +000034 default 0xc4000
Patrick Georgi5726f922009-10-08 07:43:09 +000035
36config DCACHE_RAM_SIZE
37 hex
Myles Watson3db199c2009-10-12 22:39:08 +000038 default 0x0c000
Patrick Georgi5726f922009-10-08 07:43:09 +000039
Timothy Pearsonb5e46552015-06-02 13:47:36 -050040config DCACHE_BSP_STACK_SIZE
41 hex
Timothy Pearson8bd1c362015-06-02 20:18:44 -050042 default 0x4000
Timothy Pearsonb5e46552015-06-02 13:47:36 -050043
Timothy Pearsonfb39f822015-06-02 20:25:03 -050044config DCACHE_BSP_STACK_SLUSH
45 hex
Timothy Pearson323a2af2015-07-24 17:34:29 -050046 default 0x4000 if USE_LARGE_DCACHE
Timothy Pearsonfb39f822015-06-02 20:25:03 -050047 default 0x1000
48
Timothy Pearsonb5e46552015-06-02 13:47:36 -050049config DCACHE_AP_STACK_SIZE
50 hex
51 default 0x400
52
Patrick Georgi753169d2010-01-06 09:14:08 +000053config UDELAY_IO
54 bool
55 default n
Patrick Georgi76e81522010-11-16 21:25:29 +000056
57config SET_FIDVID
58 bool
59 default y
60
Kyösti Mälkki46b09512014-04-17 15:07:47 +030061config MAX_PHYSICAL_CPUS
62 int
63 default 1
64
Stefan Reinauer95a63962012-11-13 17:00:01 -080065config LIFT_BSP_APIC_ID
66 bool
67 default n
68
Patrick Georgi76e81522010-11-16 21:25:29 +000069if SET_FIDVID
70config SET_FIDVID_DEBUG
71 bool
72 default y
73
74config SET_FIDVID_STORE_AP_APICID_AT_FIRST
75 bool
76 default y
77
78config SET_FIDVID_CORE0_ONLY
79 bool
80 default n
81
82# 0: all cores
83# 1: core 0 only
84# 2: all but core 0
85config SET_FIDVID_CORE_RANGE
86 int
87 default 0
88
Marc Jones90ca14d2011-11-23 17:49:19 -070089endif # SET_FIDVID
Xavi Drudis Ferran4c28a6f2011-02-26 23:29:44 +000090
Patrick Georgie135ac52012-11-20 11:53:47 +010091config UDELAY_LAPIC_FIXED_FSB
92 int
93 default 200
94
Marc Jones90ca14d2011-11-23 17:49:19 -070095endif # CPU_AMD_MODEL_10XXX