blob: 03c3518b412be47a4a1f114d27d8a298c28f9ceb [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
9 select SMP
10 select SSE2
Aaron Durbin7cb1ba92013-05-01 15:39:28 -050011 select UDELAY_TSC
12 select TSC_CONSTANT_RATE
Aaron Durbin76c37002012-10-30 09:03:43 -050013 select SMM_TSEG
Aaron Durbin29ffa542012-12-21 21:21:48 -060014 select SMM_MODULES
Aaron Durbin305b1f02013-01-15 08:27:05 -060015 select RELOCATABLE_MODULES
Aaron Durbinc0cbd6e2013-03-13 13:51:20 -050016 select DYNAMIC_CBMEM
Alexandru Gagniuc66e0c4c2013-12-04 22:21:15 -060017 select SUPPORT_CPU_UCODE_IN_CBFS
Aaron Durbin76c37002012-10-30 09:03:43 -050018 #select AP_IN_SIPI_WAIT
19 select TSC_SYNC_MFENCE
Aaron Durbin6dccedd2012-12-03 16:17:40 -060020 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Aaron Durbin76c37002012-10-30 09:03:43 -050021
22config BOOTBLOCK_CPU_INIT
23 string
24 default "cpu/intel/haswell/bootblock.c"
25
26config SERIAL_CPU_INIT
27 bool
28 default n
29
30config SMM_TSEG_SIZE
31 hex
32 default 0x800000
33
Aaron Durbin8ce667e2013-02-15 21:45:06 -060034config IED_REGION_SIZE
35 hex
36 default 0x400000
37
38config SMM_RESERVED_SIZE
39 hex
40 default 0x100000
41
Aaron Durbin76c37002012-10-30 09:03:43 -050042config MICROCODE_INCLUDE_PATH
43 string
44 default "src/cpu/intel/haswell"
45
Aaron Durbinb86113f2013-02-19 08:59:16 -060046config RESET_ON_INVALID_RAMSTAGE_CACHE
47 bool "Reset the system on S3 wake when ramstage cache invalid."
48 default n
49 depends on RELOCATABLE_RAMSTAGE
50 help
51 The haswell romstage code caches the loaded ramstage program
52 in SMM space. On S3 wake the romstage will copy over a fresh
53 ramstage that was cached in the SMM space. This option determines
54 the action to take when the ramstage cache is invalid. If selected
55 the system will reset otherwise the ramstage will be reloaded from
56 cbfs.
57
Aaron Durbinc46cc6f2013-04-29 16:57:10 -050058config MONOTONIC_TIMER_MSR
59 def_bool n
60 depends on INTEL_LYNXPOINT_LP
61 select HAVE_MONOTONIC_TIMER
62 help
Paul Menzel4e01cfb2013-05-13 23:06:34 +020063 Provide a monotonic timer using the 24MHz MSR counter.
Aaron Durbinc46cc6f2013-04-29 16:57:10 -050064
Aaron Durbin76c37002012-10-30 09:03:43 -050065endif