Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 1 | config SOC_INTEL_BRASWELL |
| 2 | bool |
| 3 | help |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 4 | Braswell M/D part support. |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 5 | |
| 6 | if SOC_INTEL_BRASWELL |
| 7 | |
| 8 | config CPU_SPECIFIC_OPTIONS |
| 9 | def_bool y |
Aaron Durbin | 1b6196d | 2016-07-13 23:20:26 -0500 | [diff] [blame] | 10 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 11 | select ARCH_BOOTBLOCK_X86_32 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 12 | select ARCH_RAMSTAGE_X86_32 |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 13 | select ARCH_ROMSTAGE_X86_32 |
| 14 | select ARCH_VERSTAGE_X86_32 |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 15 | select BOOT_DEVICE_SUPPORTS_WRITES |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 16 | select CACHE_MRC_SETTINGS |
Alexandru Gagniuc | 27fea06 | 2015-08-29 20:00:24 -0700 | [diff] [blame] | 17 | select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 18 | select COLLECT_TIMESTAMPS |
Martin Roth | df02c33 | 2015-07-01 23:09:42 -0600 | [diff] [blame] | 19 | select SUPPORT_CPU_UCODE_IN_CBFS |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 20 | select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 21 | select HAVE_MONOTONIC_TIMER |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 22 | select HAVE_SMI_HANDLER |
| 23 | select HAVE_HARD_RESET |
Aaron Durbin | f5ff854 | 2016-05-05 10:38:03 -0500 | [diff] [blame] | 24 | select NO_FIXED_XIP_ROM_SIZE |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 25 | select RELOCATABLE_MODULES |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 26 | select PARALLEL_MP |
| 27 | select PCIEXP_ASPM |
Lee Leahy | acb9c0b | 2015-07-02 11:55:18 -0700 | [diff] [blame] | 28 | select PCIEXP_CLK_PM |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 29 | select PCIEXP_COMMON_CLOCK |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 30 | select PLATFORM_USES_FSP1_1 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 31 | select REG_SCRIPT |
Aaron Durbin | 16246ea | 2016-08-05 21:23:37 -0500 | [diff] [blame] | 32 | select RTC |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 33 | select SOC_INTEL_COMMON |
Duncan Laurie | e73da80 | 2015-09-08 16:16:34 -0700 | [diff] [blame] | 34 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 35 | select SOC_INTEL_COMMON_RESET |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 36 | select SMM_TSEG |
| 37 | select SMP |
| 38 | select SPI_FLASH |
| 39 | select SSE2 |
| 40 | select SUPPORT_CPU_UCODE_IN_CBFS |
| 41 | select TSC_CONSTANT_RATE |
| 42 | select TSC_MONOTONIC_TIMER |
| 43 | select TSC_SYNC_MFENCE |
| 44 | select UDELAY_TSC |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 45 | select USE_GENERIC_FSP_CAR_INC |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 46 | select HAVE_INTEL_FIRMWARE |
Martin Roth | 3a54318 | 2015-09-28 15:27:24 -0600 | [diff] [blame] | 47 | select HAVE_SPI_CONSOLE_SUPPORT |
Nico Huber | 2e7f6cc | 2017-05-22 15:58:03 +0200 | [diff] [blame] | 48 | select HAVE_FSP_GOP |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 49 | |
Julius Werner | 1210b41 | 2017-03-27 19:26:32 -0700 | [diff] [blame] | 50 | config VBOOT |
| 51 | select VBOOT_STARTS_IN_ROMSTAGE |
| 52 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 53 | config BOOTBLOCK_CPU_INIT |
| 54 | string |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 55 | default "soc/intel/braswell/bootblock/bootblock.c" |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 56 | |
| 57 | config MMCONF_BASE_ADDRESS |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 58 | hex "PCIe CFG Base Address" |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 59 | default 0xe0000000 |
| 60 | |
| 61 | config MAX_CPUS |
| 62 | int |
| 63 | default 4 |
| 64 | |
| 65 | config CPU_ADDR_BITS |
| 66 | int |
| 67 | default 36 |
| 68 | |
| 69 | config SMM_TSEG_SIZE |
| 70 | hex |
| 71 | default 0x800000 |
| 72 | |
| 73 | config SMM_RESERVED_SIZE |
| 74 | hex |
| 75 | default 0x100000 |
| 76 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 77 | # Cache As RAM region layout: |
| 78 | # |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 79 | # +-------------+ DCACHE_RAM_BASE + DCACHE_RAM_SIZE |
Kyösti Mälkki | 2bad1e7 | 2016-07-26 14:03:31 +0300 | [diff] [blame] | 80 | # | Stack | |
| 81 | # | | | |
| 82 | # | v | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 83 | # +-------------+ |
| 84 | # | ^ | |
| 85 | # | | | |
| 86 | # | CAR Globals | |
| 87 | # +-------------+ DCACHE_RAM_BASE |
| 88 | # |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 89 | |
| 90 | config DCACHE_RAM_BASE |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 91 | hex "Temporary RAM Base Address" |
| 92 | default 0xfef00000 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 93 | |
| 94 | config DCACHE_RAM_SIZE |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 95 | hex "Temporary RAM Size" |
| 96 | default 0x4000 |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 97 | help |
| 98 | The size of the cache-as-ram region required during bootblock |
| 99 | and/or romstage. Note DCACHE_RAM_SIZE and DCACHE_RAM_MRC_VAR_SIZE |
| 100 | must add up to a power of 2. |
| 101 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 102 | config RESET_ON_INVALID_RAMSTAGE_CACHE |
| 103 | bool "Reset the system on S3 wake when ramstage cache invalid." |
| 104 | default n |
| 105 | depends on RELOCATABLE_RAMSTAGE |
| 106 | help |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 107 | The haswell romstage code caches the loaded ramstage program |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 108 | in SMM space. On S3 wake the romstage will copy over a fresh |
| 109 | ramstage that was cached in the SMM space. This option determines |
| 110 | the action to take when the ramstage cache is invalid. If selected |
| 111 | the system will reset otherwise the ramstage will be reloaded from |
| 112 | cbfs. |
| 113 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 114 | config ENABLE_BUILTIN_COM1 |
| 115 | bool "Enable builtin COM1 Serial Port" |
| 116 | default n |
| 117 | help |
| 118 | The PMC has a legacy COM1 serial port. Choose this option to |
| 119 | configure the pads and enable it. This serial port can be used for |
| 120 | the debug console. |
| 121 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 122 | config HAVE_IFD_BIN |
Martin Roth | 481a19c | 2016-01-04 14:23:53 -0700 | [diff] [blame] | 123 | def_bool n |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 124 | |
| 125 | config BUILD_WITH_FAKE_IFD |
Martin Roth | 3fda3c2 | 2015-07-09 21:02:26 -0600 | [diff] [blame] | 126 | def_bool !HAVE_IFD_BIN |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 127 | |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 128 | config HAVE_ME_BIN |
Martin Roth | 481a19c | 2016-01-04 14:23:53 -0700 | [diff] [blame] | 129 | def_bool n |
Lee Leahy | 3247172 | 2015-04-20 15:20:28 -0700 | [diff] [blame] | 130 | |
| 131 | config IED_REGION_SIZE |
| 132 | hex |
| 133 | default 0x400000 |
| 134 | |
Aaron Durbin | 3953e39 | 2015-09-03 00:41:29 -0500 | [diff] [blame] | 135 | config CHIPSET_BOOTBLOCK_INCLUDE |
| 136 | string |
| 137 | default "soc/intel/braswell/bootblock/timestamp.inc" |
| 138 | |
Lee Leahy | 77ff0b1 | 2015-05-05 15:07:29 -0700 | [diff] [blame] | 139 | endif |