blob: 9e62ae50ac034e5e57d66fa8dff00676d8c4746f [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
10 select ARCH_ROMSTAGE_X86_32
11 select ARCH_RAMSTAGE_X86_32
Aaron Durbin6a360042014-02-13 10:30:42 -060012 select BACKUP_DEFAULT_SMM_REGION
Aaron Durbin76c37002012-10-30 09:03:43 -050013 select SMP
14 select SSE2
Aaron Durbin7cb1ba92013-05-01 15:39:28 -050015 select UDELAY_TSC
16 select TSC_CONSTANT_RATE
Aaron Durbin76c37002012-10-30 09:03:43 -050017 select SMM_TSEG
Aaron Durbin29ffa542012-12-21 21:21:48 -060018 select SMM_MODULES
Aaron Durbin305b1f02013-01-15 08:27:05 -060019 select RELOCATABLE_MODULES
Aaron Durbinc0cbd6e2013-03-13 13:51:20 -050020 select DYNAMIC_CBMEM
Alexandru Gagniuc66e0c4c2013-12-04 22:21:15 -060021 select SUPPORT_CPU_UCODE_IN_CBFS
Aaron Durbin76c37002012-10-30 09:03:43 -050022 #select AP_IN_SIPI_WAIT
23 select TSC_SYNC_MFENCE
Aaron Durbin6dccedd2012-12-03 16:17:40 -060024 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Kyösti Mälkki5c3f3842014-05-08 15:27:15 +030025 select PARALLEL_CPU_INIT
Aaron Durbin014baea2014-03-28 22:01:05 -050026 select PARALLEL_MP
Edward O'Callaghanba924282014-06-27 12:13:30 +100027 select LAPIC_MONOTONIC_TIMER
Aaron Durbin76c37002012-10-30 09:03:43 -050028
29config BOOTBLOCK_CPU_INIT
30 string
31 default "cpu/intel/haswell/bootblock.c"
32
Aaron Durbin76c37002012-10-30 09:03:43 -050033config SMM_TSEG_SIZE
34 hex
35 default 0x800000
36
Matt DeVillierb2a14fb2014-07-07 18:48:16 -050037config ENABLE_VMX
38 bool "Enable VMX for virtualization"
39 default n
40
Aaron Durbin8ce667e2013-02-15 21:45:06 -060041config IED_REGION_SIZE
42 hex
43 default 0x400000
44
45config SMM_RESERVED_SIZE
46 hex
47 default 0x100000
48
Aaron Durbinb86113f2013-02-19 08:59:16 -060049config RESET_ON_INVALID_RAMSTAGE_CACHE
50 bool "Reset the system on S3 wake when ramstage cache invalid."
51 default n
52 depends on RELOCATABLE_RAMSTAGE
53 help
54 The haswell romstage code caches the loaded ramstage program
55 in SMM space. On S3 wake the romstage will copy over a fresh
56 ramstage that was cached in the SMM space. This option determines
57 the action to take when the ramstage cache is invalid. If selected
58 the system will reset otherwise the ramstage will be reloaded from
59 cbfs.
60
Aaron Durbinc46cc6f2013-04-29 16:57:10 -050061config MONOTONIC_TIMER_MSR
62 def_bool n
63 depends on INTEL_LYNXPOINT_LP
64 select HAVE_MONOTONIC_TIMER
65 help
Paul Menzel4e01cfb2013-05-13 23:06:34 +020066 Provide a monotonic timer using the 24MHz MSR counter.
Aaron Durbinc46cc6f2013-04-29 16:57:10 -050067
Aaron Durbin76c37002012-10-30 09:03:43 -050068endif