blob: 7949e2309047defa5c7927ad182dd736d558eb80 [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 Shaikhfd337812014-04-22 15:16:54 -07009 select ARCH_X86
Aaron Durbin6a360042014-02-13 10:30:42 -060010 select BACKUP_DEFAULT_SMM_REGION
Aaron Durbin76c37002012-10-30 09:03:43 -050011 select SMP
12 select SSE2
Aaron Durbin7cb1ba92013-05-01 15:39:28 -050013 select UDELAY_TSC
14 select TSC_CONSTANT_RATE
Aaron Durbin76c37002012-10-30 09:03:43 -050015 select SMM_TSEG
Aaron Durbin29ffa542012-12-21 21:21:48 -060016 select SMM_MODULES
Aaron Durbin305b1f02013-01-15 08:27:05 -060017 select RELOCATABLE_MODULES
Aaron Durbinc0cbd6e2013-03-13 13:51:20 -050018 select DYNAMIC_CBMEM
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
Aaron Durbin76c37002012-10-30 09:03:43 -050024
25config BOOTBLOCK_CPU_INIT
26 string
27 default "cpu/intel/haswell/bootblock.c"
28
29config SERIAL_CPU_INIT
30 bool
31 default n
32
33config SMM_TSEG_SIZE
34 hex
35 default 0x800000
36
Aaron Durbin8ce667e2013-02-15 21:45:06 -060037config IED_REGION_SIZE
38 hex
39 default 0x400000
40
41config SMM_RESERVED_SIZE
42 hex
43 default 0x100000
44
Aaron Durbinb86113f2013-02-19 08:59:16 -060045config RESET_ON_INVALID_RAMSTAGE_CACHE
46 bool "Reset the system on S3 wake when ramstage cache invalid."
47 default n
48 depends on RELOCATABLE_RAMSTAGE
49 help
50 The haswell romstage code caches the loaded ramstage program
51 in SMM space. On S3 wake the romstage will copy over a fresh
52 ramstage that was cached in the SMM space. This option determines
53 the action to take when the ramstage cache is invalid. If selected
54 the system will reset otherwise the ramstage will be reloaded from
55 cbfs.
56
Aaron Durbinc46cc6f2013-04-29 16:57:10 -050057config MONOTONIC_TIMER_MSR
58 def_bool n
59 depends on INTEL_LYNXPOINT_LP
60 select HAVE_MONOTONIC_TIMER
61 help
Paul Menzel4e01cfb2013-05-13 23:06:34 +020062 Provide a monotonic timer using the 24MHz MSR counter.
Aaron Durbinc46cc6f2013-04-29 16:57:10 -050063
Aaron Durbin76c37002012-10-30 09:03:43 -050064endif