Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 1 | config SOC_INTEL_APOLLOLAKE |
| 2 | bool |
| 3 | help |
| 4 | Intel Apollolake support |
| 5 | |
Hannah Williams | 3ff14a0 | 2017-05-05 16:30:22 -0700 | [diff] [blame] | 6 | config SOC_INTEL_GLK |
| 7 | bool |
| 8 | default n |
| 9 | select SOC_INTEL_APOLLOLAKE |
Pratik Prajapati | dc194e2 | 2017-08-29 14:27:07 -0700 | [diff] [blame] | 10 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
| 11 | select SOC_INTEL_COMMON_BLOCK_SGX |
Hannah Williams | 3ff14a0 | 2017-05-05 16:30:22 -0700 | [diff] [blame] | 12 | help |
| 13 | Intel GLK support |
| 14 | |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 15 | if SOC_INTEL_APOLLOLAKE |
| 16 | |
| 17 | config CPU_SPECIFIC_OPTIONS |
| 18 | def_bool y |
Aaron Durbin | ed35b7c | 2016-07-13 23:17:38 -0500 | [diff] [blame] | 19 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 20 | select ARCH_BOOTBLOCK_X86_32 |
| 21 | select ARCH_RAMSTAGE_X86_32 |
| 22 | select ARCH_ROMSTAGE_X86_32 |
| 23 | select ARCH_VERSTAGE_X86_32 |
Aaron Durbin | a9e03a3 | 2016-09-16 19:25:43 -0500 | [diff] [blame] | 24 | select BOOTBLOCK_CONSOLE |
Aaron Durbin | 7b2c781 | 2016-08-11 23:51:42 -0500 | [diff] [blame] | 25 | select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 26 | select BOOT_DEVICE_SUPPORTS_WRITES |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 27 | # CPU specific options |
| 28 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 29 | select IOAPIC |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 30 | select PCR_COMMON_IOSF_1_0 |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 31 | select SMP |
| 32 | select SSE2 |
| 33 | select SUPPORT_CPU_UCODE_IN_CBFS |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 34 | # Audio options |
| 35 | select ACPI_NHLT |
| 36 | select SOC_INTEL_COMMON_NHLT |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 37 | # Misc options |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 38 | select C_ENVIRONMENT_BOOTBLOCK |
Brandon Breitenstein | 135eae9 | 2016-09-30 13:57:12 -0700 | [diff] [blame] | 39 | select CACHE_RELOCATED_RAMSTAGE_OUTSIDE_CBMEM if RELOCATABLE_RAMSTAGE |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 40 | select COLLECT_TIMESTAMPS |
Aaron Durbin | c3ee3f6 | 2016-05-11 10:35:49 -0500 | [diff] [blame] | 41 | select COMMON_FADT |
Ravi Sarawadi | a3d13fbd6 | 2017-04-25 19:30:58 -0700 | [diff] [blame] | 42 | select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS |
Duncan Laurie | d25dd99 | 2016-06-29 10:47:48 -0700 | [diff] [blame] | 43 | select GENERIC_GPIO_LIB |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 44 | select HAVE_INTEL_FIRMWARE |
Hannah Williams | d9c84ca | 2016-05-13 00:47:14 -0700 | [diff] [blame] | 45 | select HAVE_SMI_HANDLER |
Furquan Shaikh | ffb3a2d | 2016-10-24 15:28:23 -0700 | [diff] [blame] | 46 | select MRC_SETTINGS_PROTECT |
Aaron Durbin | f5ff854 | 2016-05-05 10:38:03 -0500 | [diff] [blame] | 47 | select NO_FIXED_XIP_ROM_SIZE |
Furquan Shaikh | 94b18a1 | 2016-05-04 23:25:16 -0700 | [diff] [blame] | 48 | select NO_XIP_EARLY_STAGES |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 49 | select PARALLEL_MP |
Andrey Petrov | a697c19 | 2016-12-07 10:47:46 -0800 | [diff] [blame] | 50 | select PARALLEL_MP_AP_WORK |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 51 | select PCIEXP_ASPM |
| 52 | select PCIEXP_COMMON_CLOCK |
| 53 | select PCIEXP_CLK_PM |
| 54 | select PCIEXP_L1_SUB_STATE |
Subrata Banik | 7952e28 | 2017-03-14 18:26:27 +0530 | [diff] [blame] | 55 | select PCIEX_LENGTH_256MB |
Aaron Durbin | 79587ed | 2016-09-16 16:30:09 -0500 | [diff] [blame] | 56 | select POSTCAR_CONSOLE |
Aaron Durbin | eebe0e0 | 2016-03-18 11:19:38 -0500 | [diff] [blame] | 57 | select POSTCAR_STAGE |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 58 | select REG_SCRIPT |
| 59 | select RELOCATABLE_RAMSTAGE # Build fails if this is not selected |
Aaron Durbin | 16246ea | 2016-08-05 21:23:37 -0500 | [diff] [blame] | 60 | select RTC |
Hannah Williams | d9c84ca | 2016-05-13 00:47:14 -0700 | [diff] [blame] | 61 | select SMM_TSEG |
Subrata Banik | 208587e | 2017-05-19 18:38:24 +0530 | [diff] [blame] | 62 | select SA_ENABLE_IMR |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 63 | select SOC_INTEL_COMMON |
Shaunak Saha | 60b4618 | 2016-08-02 17:25:13 -0700 | [diff] [blame] | 64 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 65 | select SOC_INTEL_COMMON_BLOCK |
Shaunak Saha | bd42780 | 2017-07-18 00:19:33 -0700 | [diff] [blame] | 66 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Barnali Sarkar | 66fe0c4 | 2017-05-23 18:17:14 +0530 | [diff] [blame] | 67 | select SOC_INTEL_COMMON_BLOCK_CPU |
Lijian Zhao | 44e2abf | 2017-10-30 14:27:52 -0700 | [diff] [blame] | 68 | select SOC_INTEL_COMMON_BLOCK_DSP |
Barnali Sarkar | e70142c | 2017-03-28 16:32:33 +0530 | [diff] [blame] | 69 | select SOC_INTEL_COMMON_BLOCK_FAST_SPI |
Hannah Williams | 12bed18 | 2017-05-26 20:31:15 -0700 | [diff] [blame] | 70 | select SOC_INTEL_COMMON_BLOCK_GPIO |
Aaron Durbin | aa2504a | 2017-07-14 16:53:49 -0600 | [diff] [blame] | 71 | select SOC_INTEL_COMMON_BLOCK_GPIO_MULTI_ACPI_DEVICES |
Hannah Williams | 12bed18 | 2017-05-26 20:31:15 -0700 | [diff] [blame] | 72 | select SOC_INTEL_COMMON_BLOCK_GPIO_ITSS_POL_CFG |
| 73 | select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY |
Bora Guvendik | 33117ec | 2017-04-10 15:49:02 -0700 | [diff] [blame] | 74 | select SOC_INTEL_COMMON_BLOCK_ITSS |
Rizwan Qureshi | ae6a4b6 | 2017-04-26 21:06:35 +0530 | [diff] [blame] | 75 | select SOC_INTEL_COMMON_BLOCK_I2C |
Ravi Sarawadi | efa606b | 2017-08-04 16:26:09 -0700 | [diff] [blame] | 76 | select SOC_INTEL_COMMON_BLOCK_LPC |
Aamir Bohra | 138b2a0 | 2017-04-06 20:21:58 +0530 | [diff] [blame] | 77 | select SOC_INTEL_COMMON_BLOCK_LPSS |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 78 | select SOC_INTEL_COMMON_BLOCK_PCR |
Lijian Zhao | 8aba24d | 2017-10-26 12:16:53 -0700 | [diff] [blame] | 79 | select SOC_INTEL_COMMON_BLOCK_P2SB |
Shaunak Saha | 93cdc8b | 2017-04-18 15:42:09 -0700 | [diff] [blame] | 80 | select SOC_INTEL_COMMON_BLOCK_PMC |
Subrata Banik | 8bf69d3 | 2017-03-09 13:43:54 +0530 | [diff] [blame] | 81 | select SOC_INTEL_COMMON_BLOCK_RTC |
Aamir Bohra | bf6dfae | 2017-04-07 21:10:27 +0530 | [diff] [blame] | 82 | select SOC_INTEL_COMMON_BLOCK_SA |
Bora Guvendik | 65623b7 | 2017-05-08 16:29:17 -0700 | [diff] [blame] | 83 | select SOC_INTEL_COMMON_BLOCK_SCS |
Aamir Bohra | 4c9cf30 | 2017-05-25 14:38:37 +0530 | [diff] [blame] | 84 | select SOC_INTEL_COMMON_BLOCK_TIMER |
Aamir Bohra | bf6dfae | 2017-04-07 21:10:27 +0530 | [diff] [blame] | 85 | select SOC_INTEL_COMMON_BLOCK_UART |
Subrata Banik | 4aaa7e3 | 2017-04-24 11:54:34 +0530 | [diff] [blame] | 86 | select SOC_INTEL_COMMON_BLOCK_XDCI |
Subrata Banik | 73b1797 | 2017-04-24 10:25:56 +0530 | [diff] [blame] | 87 | select SOC_INTEL_COMMON_BLOCK_XHCI |
Brandon Breitenstein | a86d1b8 | 2017-06-08 17:32:02 -0700 | [diff] [blame] | 88 | select SOC_INTEL_COMMON_BLOCK_SMM |
Subrata Banik | 15129b4 | 2017-11-07 17:50:48 +0530 | [diff] [blame^] | 89 | select SOC_INTEL_COMMON_BLOCK_SPI |
Furquan Shaikh | d0c00052 | 2016-11-21 09:19:53 -0800 | [diff] [blame] | 90 | select SOC_INTEL_COMMON_SPI_FLASH_PROTECT |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 91 | select UDELAY_TSC |
Andrey Petrov | 87fb1a6 | 2016-02-10 17:47:03 -0800 | [diff] [blame] | 92 | select TSC_CONSTANT_RATE |
Hannah Williams | b13d454 | 2016-03-14 17:38:51 -0700 | [diff] [blame] | 93 | select TSC_MONOTONIC_TIMER |
| 94 | select HAVE_MONOTONIC_TIMER |
Andrey Petrov | 0d18791 | 2016-02-25 18:39:38 -0800 | [diff] [blame] | 95 | select PLATFORM_USES_FSP2_0 |
Zhao, Lijian | d8d42c2 | 2016-03-14 14:19:22 -0700 | [diff] [blame] | 96 | select HAVE_HARD_RESET |
| 97 | select SOC_INTEL_COMMON |
Andrey Petrov | 868679f | 2016-05-12 19:11:48 -0700 | [diff] [blame] | 98 | select SOC_INTEL_COMMON_GFX_OPREGION |
Andrey Petrov | d8db26d | 2017-03-06 14:47:05 -0800 | [diff] [blame] | 99 | select SOC_INTEL_COMMON_BLOCK |
| 100 | select SOC_INTEL_COMMON_BLOCK_CSE |
Patrick Rudolph | 4c17098 | 2017-07-17 19:53:56 +0200 | [diff] [blame] | 101 | select INTEL_GMA_ADD_VBT_DATA_FILE if RUN_FSP_GOP |
Nico Huber | 2e7f6cc | 2017-05-22 15:58:03 +0200 | [diff] [blame] | 102 | select HAVE_FSP_GOP |
Zhao, Lijian | d8d42c2 | 2016-03-14 14:19:22 -0700 | [diff] [blame] | 103 | |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 104 | config CHROMEOS |
| 105 | select CHROMEOS_RAMOOPS_DYNAMIC |
Julius Werner | 58c3938 | 2017-02-13 17:53:29 -0800 | [diff] [blame] | 106 | |
| 107 | config VBOOT |
| 108 | select VBOOT_SEPARATE_VERSTAGE |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 109 | select VBOOT_OPROM_MATTERS |
Furquan Shaikh | 7c7b291 | 2016-07-22 09:02:35 -0700 | [diff] [blame] | 110 | select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 111 | select VBOOT_STARTS_IN_BOOTBLOCK |
Furquan Shaikh | 2a12e2e | 2016-07-25 11:48:03 -0700 | [diff] [blame] | 112 | select VBOOT_VBNV_CMOS |
| 113 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 114 | |
Aaron Durbin | 80a3df2 | 2016-04-27 23:05:52 -0500 | [diff] [blame] | 115 | config TPM_ON_FAST_SPI |
| 116 | bool |
| 117 | default n |
| 118 | select LPC_TPM |
| 119 | help |
| 120 | TPM part is conntected on Fast SPI interface, but the LPC MMIO |
| 121 | TPM transactions are decoded and serialized over the SPI interface. |
| 122 | |
Zhao, Lijian | d8d42c2 | 2016-03-14 14:19:22 -0700 | [diff] [blame] | 123 | config SOC_INTEL_COMMON_RESET |
| 124 | bool |
Andrey Petrov | 9c0e180 | 2016-06-23 08:26:00 -0700 | [diff] [blame] | 125 | default y |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 126 | |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 127 | config PCR_BASE_ADDRESS |
| 128 | hex |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 129 | default 0xd0000000 |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 130 | help |
| 131 | This option allows you to select MMIO Base Address of sideband bus. |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 132 | |
| 133 | config DCACHE_RAM_BASE |
Arthur Heymans | 3038b48 | 2017-06-13 14:05:09 +0200 | [diff] [blame] | 134 | hex |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 135 | default 0xfef00000 |
| 136 | |
| 137 | config DCACHE_RAM_SIZE |
Arthur Heymans | 3038b48 | 2017-06-13 14:05:09 +0200 | [diff] [blame] | 138 | hex |
Andrey Petrov | 0dde291 | 2016-06-27 15:21:26 -0700 | [diff] [blame] | 139 | default 0xc0000 |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 140 | help |
| 141 | The size of the cache-as-ram region required during bootblock |
| 142 | and/or romstage. |
| 143 | |
| 144 | config DCACHE_BSP_STACK_SIZE |
| 145 | hex |
| 146 | default 0x4000 |
| 147 | help |
| 148 | The amount of anticipated stack usage in CAR by bootblock and |
| 149 | other stages. |
| 150 | |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 151 | config CPU_ADDR_BITS |
| 152 | int |
| 153 | default 36 |
| 154 | |
Furquan Shaikh | 340908a | 2017-04-04 11:47:19 -0700 | [diff] [blame] | 155 | config SOC_INTEL_COMMON_LPSS_CLOCK_MHZ |
Duncan Laurie | ff8bce0 | 2016-06-27 10:57:13 -0700 | [diff] [blame] | 156 | int |
| 157 | default 133 |
| 158 | |
Andrey Petrov | 87fb1a6 | 2016-02-10 17:47:03 -0800 | [diff] [blame] | 159 | config CONSOLE_UART_BASE_ADDRESS |
| 160 | depends on CONSOLE_SERIAL |
Arthur Heymans | 3038b48 | 2017-06-13 14:05:09 +0200 | [diff] [blame] | 161 | hex |
Andrey Petrov | 87fb1a6 | 2016-02-10 17:47:03 -0800 | [diff] [blame] | 162 | default 0xde000000 |
| 163 | |
Aaron Durbin | 6181030 | 2016-02-24 18:49:07 -0600 | [diff] [blame] | 164 | config SOC_UART_DEBUG |
| 165 | bool "Enable SoC UART debug port selected by UART_FOR_CONSOLE." |
| 166 | default n |
| 167 | select CONSOLE_SERIAL |
Aaron Durbin | 6181030 | 2016-02-24 18:49:07 -0600 | [diff] [blame] | 168 | select DRIVERS_UART |
| 169 | select DRIVERS_UART_8250MEM_32 |
| 170 | select NO_UART_ON_SUPERIO |
| 171 | |
Aaron Durbin | ada13ed | 2016-02-11 14:47:33 -0600 | [diff] [blame] | 172 | # 32KiB bootblock is all that is mapped in by the CSE at top of 4GiB. |
| 173 | config C_ENV_BOOTBLOCK_SIZE |
| 174 | hex |
| 175 | default 0x8000 |
| 176 | |
Andrey Petrov | 5672dcd | 2016-02-12 15:12:43 -0800 | [diff] [blame] | 177 | # This SoC does not map SPI flash like many previous SoC. Therefore we provide |
| 178 | # a custom media driver that facilitates mapping |
| 179 | config X86_TOP4G_BOOTMEDIA_MAP |
| 180 | bool |
| 181 | default n |
Andrey Petrov | b483146 | 2016-02-25 17:42:25 -0800 | [diff] [blame] | 182 | |
| 183 | config ROMSTAGE_ADDR |
| 184 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 185 | default 0xfef20000 |
Andrey Petrov | b483146 | 2016-02-25 17:42:25 -0800 | [diff] [blame] | 186 | help |
| 187 | The base address (in CAR) where romstage should be linked |
| 188 | |
Aaron Durbin | bef75e7 | 2016-05-26 11:00:44 -0500 | [diff] [blame] | 189 | config VERSTAGE_ADDR |
| 190 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 191 | default 0xfef40000 |
Aaron Durbin | bef75e7 | 2016-05-26 11:00:44 -0500 | [diff] [blame] | 192 | help |
| 193 | The base address (in CAR) where verstage should be linked |
| 194 | |
Hannah Williams | b13d454 | 2016-03-14 17:38:51 -0700 | [diff] [blame] | 195 | config CACHE_MRC_SETTINGS |
| 196 | bool |
| 197 | default y |
| 198 | |
Andrey Petrov | 96e9ff1 | 2016-11-04 16:18:30 -0700 | [diff] [blame] | 199 | config MRC_SETTINGS_VARIABLE_DATA |
| 200 | bool |
| 201 | default y |
| 202 | |
Andrey Petrov | 79091db7 | 2016-05-17 00:03:27 -0700 | [diff] [blame] | 203 | config FSP_M_ADDR |
| 204 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 205 | default 0xfef40000 |
Andrey Petrov | 79091db7 | 2016-05-17 00:03:27 -0700 | [diff] [blame] | 206 | help |
| 207 | The address FSP-M will be relocated to during build time |
| 208 | |
Aaron Durbin | 9f444c3 | 2016-05-20 10:48:44 -0500 | [diff] [blame] | 209 | config NEED_LBP2 |
| 210 | bool "Write contents for logical boot partition 2." |
| 211 | default n |
| 212 | help |
| 213 | Write the contents from a file into the logical boot partition 2 |
| 214 | region defined by LBP2_FMAP_NAME. |
| 215 | |
| 216 | config LBP2_FMAP_NAME |
| 217 | string "Name of FMAP region to put logical boot partition 2" |
| 218 | depends on NEED_LBP2 |
| 219 | default "SIGN_CSE" |
| 220 | help |
| 221 | Name of FMAP region to write logical boot partition 2 data. |
| 222 | |
| 223 | config LBP2_FILE_NAME |
| 224 | string "Path of file to write to logical boot partition 2 region" |
| 225 | depends on NEED_LBP2 |
| 226 | default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/lbp2.bin" |
| 227 | help |
| 228 | Name of file to store in the logical boot partition 2 region. |
| 229 | |
Furquan Shaikh | 7043bf3 | 2016-05-28 12:57:05 -0700 | [diff] [blame] | 230 | config NEED_IFWI |
| 231 | bool "Write content into IFWI region" |
| 232 | default n |
| 233 | help |
| 234 | Write the content from a file into IFWI region defined by |
| 235 | IFWI_FMAP_NAME. |
| 236 | |
| 237 | config IFWI_FMAP_NAME |
| 238 | string "Name of FMAP region to pull IFWI into" |
| 239 | depends on NEED_IFWI |
| 240 | default "IFWI" |
| 241 | help |
| 242 | Name of FMAP region to write IFWI. |
| 243 | |
| 244 | config IFWI_FILE_NAME |
| 245 | string "Path of file to write to IFWI region" |
| 246 | depends on NEED_IFWI |
| 247 | default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/ifwi.bin" |
| 248 | help |
| 249 | Name of file to store in the IFWI region. |
| 250 | |
Sathyanarayana Nujella | c446704 | 2016-10-26 17:38:49 -0700 | [diff] [blame] | 251 | config HEAP_SIZE |
| 252 | hex |
| 253 | default 0x8000 |
| 254 | |
Sathyanarayana Nujella | 3e0a3fb | 2016-10-26 17:31:36 -0700 | [diff] [blame] | 255 | config NHLT_DMIC_1CH_16B |
| 256 | bool |
| 257 | depends on ACPI_NHLT |
| 258 | default n |
| 259 | help |
| 260 | Include DSP firmware settings for 1 channel 16B DMIC array. |
| 261 | |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 262 | config NHLT_DMIC_2CH_16B |
| 263 | bool |
| 264 | depends on ACPI_NHLT |
| 265 | default n |
| 266 | help |
| 267 | Include DSP firmware settings for 2 channel 16B DMIC array. |
| 268 | |
Sathyanarayana Nujella | 3e0a3fb | 2016-10-26 17:31:36 -0700 | [diff] [blame] | 269 | config NHLT_DMIC_4CH_16B |
| 270 | bool |
| 271 | depends on ACPI_NHLT |
| 272 | default n |
| 273 | help |
| 274 | Include DSP firmware settings for 4 channel 16B DMIC array. |
| 275 | |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 276 | config NHLT_MAX98357 |
| 277 | bool |
| 278 | depends on ACPI_NHLT |
| 279 | default n |
| 280 | help |
| 281 | Include DSP firmware settings for headset codec. |
| 282 | |
| 283 | config NHLT_DA7219 |
| 284 | bool |
| 285 | depends on ACPI_NHLT |
| 286 | default n |
| 287 | help |
| 288 | Include DSP firmware settings for headset codec. |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 289 | |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 290 | choice |
| 291 | prompt "Cache-as-ram implementation" |
Hannah Williams | 3ff14a0 | 2017-05-05 16:30:22 -0700 | [diff] [blame] | 292 | default CAR_CQOS if !SOC_INTEL_GLK |
| 293 | default CAR_NEM |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 294 | help |
| 295 | This option allows you to select how cache-as-ram (CAR) is set up. |
| 296 | |
| 297 | config CAR_NEM |
| 298 | bool "Non-evict mode" |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 299 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 300 | select INTEL_CAR_NEM |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 301 | help |
| 302 | Traditionally, CAR is set up by using Non-Evict mode. This method |
| 303 | does not allow CAR and cache to co-exist, because cache fills are |
| 304 | block in NEM mode. |
| 305 | |
| 306 | config CAR_CQOS |
| 307 | bool "Cache Quality of Service" |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 308 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 309 | select INTEL_CAR_CQOS |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 310 | help |
| 311 | Cache Quality of Service allows more fine-grained control of cache |
| 312 | usage. As result, it is possible to set up portion of L2 cache for |
| 313 | CAR and use remainder for actual caching. |
| 314 | |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 315 | config USE_APOLLOLAKE_FSP_CAR |
| 316 | bool "Use FSP CAR" |
| 317 | select FSP_CAR |
| 318 | help |
Subrata Banik | 7952e28 | 2017-03-14 18:26:27 +0530 | [diff] [blame] | 319 | Use FSP APIs to initialize & tear down the Cache-As-Ram. |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 320 | |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 321 | endchoice |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 322 | |
Barnali Sarkar | 1e6b980 | 2017-08-07 18:26:31 +0530 | [diff] [blame] | 323 | choice |
| 324 | prompt "MPINIT code implementation" |
| 325 | default NO_COMMON_MPINIT if SOC_INTEL_APOLLOLAKE |
| 326 | default COMMON_MPINIT |
| 327 | help |
| 328 | This option allows you to select MP Init Code path either |
| 329 | from Intel Common Code implementation, or from SOC files. |
| 330 | |
| 331 | config NO_COMMON_MPINIT |
| 332 | bool "Not using Common MP Init code" |
| 333 | help |
| 334 | Common code MP Init path is not used. |
| 335 | |
| 336 | config COMMON_MPINIT |
| 337 | bool "Using Common MP Init code" |
| 338 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
| 339 | help |
| 340 | Common code MP Init path is used. |
| 341 | |
| 342 | endchoice |
| 343 | |
Subrata Banik | 8e1c12f1 | 2017-03-10 13:51:11 +0530 | [diff] [blame] | 344 | # |
| 345 | # Each bit in QOS mask controls this many bytes. This is calculated as: |
| 346 | # (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS |
| 347 | # |
| 348 | |
| 349 | config CACHE_QOS_SIZE_PER_BIT |
| 350 | hex |
| 351 | default 0x20000 # 128 KB |
| 352 | |
| 353 | config L2_CACHE_SIZE |
| 354 | hex |
| 355 | default 0x100000 |
| 356 | |
Aaron Durbin | bdb6cc9 | 2016-08-11 09:48:52 -0500 | [diff] [blame] | 357 | config SPI_FLASH_INCLUDE_ALL_DRIVERS |
| 358 | bool |
| 359 | default n |
| 360 | |
Brandon Breitenstein | 135eae9 | 2016-09-30 13:57:12 -0700 | [diff] [blame] | 361 | config SMM_RESERVED_SIZE |
| 362 | hex |
| 363 | default 0x100000 |
| 364 | |
Andrey Petrov | 4c5b31e | 2016-11-06 23:43:57 -0800 | [diff] [blame] | 365 | config IFD_CHIPSET |
| 366 | string |
| 367 | default "aplk" |
| 368 | |
Aamir Bohra | 22b2c79 | 2017-06-02 19:07:56 +0530 | [diff] [blame] | 369 | config CPU_BCLK_MHZ |
| 370 | int |
| 371 | default 100 |
| 372 | |
Mario Scheithauer | 38b6100 | 2017-07-25 10:52:41 +0200 | [diff] [blame] | 373 | config APL_SKIP_SET_POWER_LIMITS |
| 374 | bool |
| 375 | default n |
| 376 | help |
| 377 | Some Apollo Lake mainboards do not need the Running Average Power |
| 378 | Limits (RAPL) algorithm for a constant power management. |
| 379 | Set this config option to skip the RAPL configuration. |
| 380 | |
Furquan Shaikh | 3406dd6 | 2017-08-04 15:58:26 -0700 | [diff] [blame] | 381 | # M and N divisor values for clock frequency configuration. |
| 382 | # These values get us a 1.836 MHz clock (ideally we want 1.843 MHz) |
| 383 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 384 | hex |
| 385 | default 0x25a |
| 386 | |
| 387 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 388 | hex |
| 389 | default 0x7fff |
| 390 | |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 391 | endif |