blob: 5936953b5262bb316ea70be38c1a32cad44defc2 [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
Patrick Georgia6b47982015-05-19 21:30:20 +020013 select HAVE_MONOTONIC_TIMER
Aaron Durbin76c37002012-10-30 09:03:43 -050014 select SMP
Matt DeVillier31769d92015-04-30 01:19:16 -050015 select MMX
Aaron Durbin76c37002012-10-30 09:03:43 -050016 select SSE2
Aaron Durbin7cb1ba92013-05-01 15:39:28 -050017 select UDELAY_TSC
18 select TSC_CONSTANT_RATE
Aaron Durbin76c37002012-10-30 09:03:43 -050019 select SMM_TSEG
Alexandru Gagniuc66e0c4c2013-12-04 22:21:15 -060020 select SUPPORT_CPU_UCODE_IN_CBFS
Aaron Durbin76c37002012-10-30 09:03:43 -050021 #select AP_IN_SIPI_WAIT
22 select TSC_SYNC_MFENCE
Aaron Durbin6dccedd2012-12-03 16:17:40 -060023 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Aaron Durbin014baea2014-03-28 22:01:05 -050024 select PARALLEL_MP
Matt DeVilliered6fe2f2016-12-14 16:12:43 -060025 select CPU_INTEL_COMMON
Arthur Heymans74f9fe62019-04-24 12:29:44 +020026 select NO_FIXED_XIP_ROM_SIZE
Aaron Durbin76c37002012-10-30 09:03:43 -050027
Aaron Durbin76c37002012-10-30 09:03:43 -050028config SMM_TSEG_SIZE
29 hex
30 default 0x800000
31
Aaron Durbin8ce667e2013-02-15 21:45:06 -060032config IED_REGION_SIZE
33 hex
34 default 0x400000
35
36config SMM_RESERVED_SIZE
37 hex
38 default 0x100000
39
Aaron Durbinb86113f2013-02-19 08:59:16 -060040config RESET_ON_INVALID_RAMSTAGE_CACHE
41 bool "Reset the system on S3 wake when ramstage cache invalid."
42 default n
Aaron Durbinb86113f2013-02-19 08:59:16 -060043 help
44 The haswell romstage code caches the loaded ramstage program
45 in SMM space. On S3 wake the romstage will copy over a fresh
46 ramstage that was cached in the SMM space. This option determines
47 the action to take when the ramstage cache is invalid. If selected
48 the system will reset otherwise the ramstage will be reloaded from
49 cbfs.
50
Aaron Durbin76c37002012-10-30 09:03:43 -050051endif