blob: 8f91b60953d746835553d38503e4173d923ecd3c [file] [log] [blame]
Aaron Durbin76c37002012-10-30 09:03:43 -05001
2config CPU_INTEL_HASWELL
3 bool
4
5if CPU_INTEL_HASWELL
6
7config CPU_SPECIFIC_OPTIONS
8 def_bool y
Furquan Shaikh99ac98f2014-04-23 10:18:48 -07009 select ARCH_BOOTBLOCK_X86_32
Stefan Reinauer77b16552015-01-14 19:51:47 +010010 select ARCH_VERSTAGE_X86_32
Furquan Shaikh99ac98f2014-04-23 10:18:48 -070011 select ARCH_ROMSTAGE_X86_32
12 select ARCH_RAMSTAGE_X86_32
Aaron Durbin76c37002012-10-30 09:03:43 -050013 select SMP
Matt DeVillier31769d92015-04-30 01:19:16 -050014 select MMX
Aaron Durbin76c37002012-10-30 09:03:43 -050015 select SSE2
Aaron Durbin7cb1ba92013-05-01 15:39:28 -050016 select UDELAY_TSC
17 select TSC_CONSTANT_RATE
Kyösti Mälkki3b50c052019-07-06 09:51:58 +030018 select TSC_MONOTONIC_TIMER
Alexandru Gagniuc66e0c4c2013-12-04 22:21:15 -060019 select SUPPORT_CPU_UCODE_IN_CBFS
Aaron Durbin76c37002012-10-30 09:03:43 -050020 #select AP_IN_SIPI_WAIT
21 select TSC_SYNC_MFENCE
Aaron Durbin6dccedd2012-12-03 16:17:40 -060022 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Aaron Durbin014baea2014-03-28 22:01:05 -050023 select PARALLEL_MP
Matt DeVilliered6fe2f2016-12-14 16:12:43 -060024 select CPU_INTEL_COMMON
Arthur Heymans74f9fe62019-04-24 12:29:44 +020025 select NO_FIXED_XIP_ROM_SIZE
Aaron Durbin76c37002012-10-30 09:03:43 -050026
Aaron Durbin76c37002012-10-30 09:03:43 -050027config SMM_TSEG_SIZE
28 hex
29 default 0x800000
30
Aaron Durbin8ce667e2013-02-15 21:45:06 -060031config IED_REGION_SIZE
32 hex
33 default 0x400000
34
35config SMM_RESERVED_SIZE
36 hex
37 default 0x100000
38
Aaron Durbinb86113f2013-02-19 08:59:16 -060039config RESET_ON_INVALID_RAMSTAGE_CACHE
40 bool "Reset the system on S3 wake when ramstage cache invalid."
41 default n
Aaron Durbinb86113f2013-02-19 08:59:16 -060042 help
43 The haswell romstage code caches the loaded ramstage program
44 in SMM space. On S3 wake the romstage will copy over a fresh
45 ramstage that was cached in the SMM space. This option determines
46 the action to take when the ramstage cache is invalid. If selected
47 the system will reset otherwise the ramstage will be reloaded from
48 cbfs.
49
Aaron Durbin76c37002012-10-30 09:03:43 -050050endif