Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 1 | |
| 2 | config CPU_INTEL_HASWELL |
| 3 | bool |
| 4 | |
| 5 | if CPU_INTEL_HASWELL |
| 6 | |
| 7 | config CPU_SPECIFIC_OPTIONS |
| 8 | def_bool y |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 9 | select ARCH_BOOTBLOCK_X86_32 |
Stefan Reinauer | 77b1655 | 2015-01-14 19:51:47 +0100 | [diff] [blame^] | 10 | select ARCH_VERSTAGE_X86_32 |
Furquan Shaikh | 99ac98f | 2014-04-23 10:18:48 -0700 | [diff] [blame] | 11 | select ARCH_ROMSTAGE_X86_32 |
| 12 | select ARCH_RAMSTAGE_X86_32 |
Aaron Durbin | 6a36004 | 2014-02-13 10:30:42 -0600 | [diff] [blame] | 13 | select BACKUP_DEFAULT_SMM_REGION |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 14 | select SMP |
| 15 | select SSE2 |
Aaron Durbin | 7cb1ba9 | 2013-05-01 15:39:28 -0500 | [diff] [blame] | 16 | select UDELAY_TSC |
| 17 | select TSC_CONSTANT_RATE |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 18 | select SMM_TSEG |
Aaron Durbin | 29ffa54 | 2012-12-21 21:21:48 -0600 | [diff] [blame] | 19 | select SMM_MODULES |
Aaron Durbin | 305b1f0 | 2013-01-15 08:27:05 -0600 | [diff] [blame] | 20 | select RELOCATABLE_MODULES |
Kyösti Mälkki | d05d0db | 2014-10-16 14:54:03 +0300 | [diff] [blame] | 21 | select RELOCATABLE_RAMSTAGE |
Aaron Durbin | c0cbd6e | 2013-03-13 13:51:20 -0500 | [diff] [blame] | 22 | select DYNAMIC_CBMEM |
Alexandru Gagniuc | 66e0c4c | 2013-12-04 22:21:15 -0600 | [diff] [blame] | 23 | select SUPPORT_CPU_UCODE_IN_CBFS |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 24 | #select AP_IN_SIPI_WAIT |
| 25 | select TSC_SYNC_MFENCE |
Aaron Durbin | 6dccedd | 2012-12-03 16:17:40 -0600 | [diff] [blame] | 26 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Kyösti Mälkki | 5c3f384 | 2014-05-08 15:27:15 +0300 | [diff] [blame] | 27 | select PARALLEL_CPU_INIT |
Aaron Durbin | 014baea | 2014-03-28 22:01:05 -0500 | [diff] [blame] | 28 | select PARALLEL_MP |
Edward O'Callaghan | ba92428 | 2014-06-27 12:13:30 +1000 | [diff] [blame] | 29 | select LAPIC_MONOTONIC_TIMER |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 30 | |
| 31 | config BOOTBLOCK_CPU_INIT |
| 32 | string |
| 33 | default "cpu/intel/haswell/bootblock.c" |
| 34 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 35 | config SMM_TSEG_SIZE |
| 36 | hex |
| 37 | default 0x800000 |
| 38 | |
Matt DeVillier | b2a14fb | 2014-07-07 18:48:16 -0500 | [diff] [blame] | 39 | config ENABLE_VMX |
| 40 | bool "Enable VMX for virtualization" |
| 41 | default n |
| 42 | |
Aaron Durbin | 8ce667e | 2013-02-15 21:45:06 -0600 | [diff] [blame] | 43 | config IED_REGION_SIZE |
| 44 | hex |
| 45 | default 0x400000 |
| 46 | |
| 47 | config SMM_RESERVED_SIZE |
| 48 | hex |
| 49 | default 0x100000 |
| 50 | |
Aaron Durbin | b86113f | 2013-02-19 08:59:16 -0600 | [diff] [blame] | 51 | config RESET_ON_INVALID_RAMSTAGE_CACHE |
| 52 | bool "Reset the system on S3 wake when ramstage cache invalid." |
| 53 | default n |
| 54 | depends on RELOCATABLE_RAMSTAGE |
| 55 | help |
| 56 | The haswell romstage code caches the loaded ramstage program |
| 57 | in SMM space. On S3 wake the romstage will copy over a fresh |
| 58 | ramstage that was cached in the SMM space. This option determines |
| 59 | the action to take when the ramstage cache is invalid. If selected |
| 60 | the system will reset otherwise the ramstage will be reloaded from |
| 61 | cbfs. |
| 62 | |
Aaron Durbin | c46cc6f | 2013-04-29 16:57:10 -0500 | [diff] [blame] | 63 | config MONOTONIC_TIMER_MSR |
| 64 | def_bool n |
| 65 | depends on INTEL_LYNXPOINT_LP |
| 66 | select HAVE_MONOTONIC_TIMER |
| 67 | help |
Paul Menzel | 4e01cfb | 2013-05-13 23:06:34 +0200 | [diff] [blame] | 68 | Provide a monotonic timer using the 24MHz MSR counter. |
Aaron Durbin | c46cc6f | 2013-04-29 16:57:10 -0500 | [diff] [blame] | 69 | |
Aaron Durbin | 76c3700 | 2012-10-30 09:03:43 -0500 | [diff] [blame] | 70 | endif |