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 |
Ravi Sarawadi | 3669a06 | 2018-02-27 13:23:42 -0800 | [diff] [blame] | 12 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
Aaron Durbin | 82d0f91 | 2018-04-21 00:16:28 -0600 | [diff] [blame] | 13 | select IDT_IN_EVERY_STAGE |
Aaron Durbin | 5c9df70 | 2018-04-18 01:05:25 -0600 | [diff] [blame] | 14 | select PAGING_IN_CACHE_AS_RAM |
Hannah Williams | 3ff14a0 | 2017-05-05 16:30:22 -0700 | [diff] [blame] | 15 | help |
| 16 | Intel GLK support |
| 17 | |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 18 | if SOC_INTEL_APOLLOLAKE |
| 19 | |
| 20 | config CPU_SPECIFIC_OPTIONS |
| 21 | def_bool y |
Aaron Durbin | ed35b7c | 2016-07-13 23:17:38 -0500 | [diff] [blame] | 22 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Nico Huber | 44c6cf6 | 2018-11-24 17:53:17 +0100 | [diff] [blame] | 23 | select ACPI_NO_PCAT_8259 |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 24 | select ARCH_BOOTBLOCK_X86_32 |
| 25 | select ARCH_RAMSTAGE_X86_32 |
| 26 | select ARCH_ROMSTAGE_X86_32 |
| 27 | select ARCH_VERSTAGE_X86_32 |
Aaron Durbin | 7b2c781 | 2016-08-11 23:51:42 -0500 | [diff] [blame] | 28 | 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] | 29 | select BOOT_DEVICE_SUPPORTS_WRITES |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 30 | # CPU specific options |
| 31 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 32 | select IOAPIC |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 33 | select PCR_COMMON_IOSF_1_0 |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 34 | select SMP |
| 35 | select SSE2 |
| 36 | select SUPPORT_CPU_UCODE_IN_CBFS |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 37 | # Audio options |
| 38 | select ACPI_NHLT |
| 39 | select SOC_INTEL_COMMON_NHLT |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 40 | # Misc options |
Aaron Durbin | 934f433 | 2017-12-15 12:59:18 -0700 | [diff] [blame] | 41 | select CACHE_MRC_SETTINGS |
Aaron Durbin | c3ee3f6 | 2016-05-11 10:35:49 -0500 | [diff] [blame] | 42 | select COMMON_FADT |
Ravi Sarawadi | a3d13fbd6 | 2017-04-25 19:30:58 -0700 | [diff] [blame] | 43 | select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS |
Duncan Laurie | d25dd99 | 2016-06-29 10:47:48 -0700 | [diff] [blame] | 44 | select GENERIC_GPIO_LIB |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 45 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Hannah Williams | d9c84ca | 2016-05-13 00:47:14 -0700 | [diff] [blame] | 46 | select HAVE_SMI_HANDLER |
Furquan Shaikh | ffb3a2d | 2016-10-24 15:28:23 -0700 | [diff] [blame] | 47 | select MRC_SETTINGS_PROTECT |
Aaron Durbin | 934f433 | 2017-12-15 12:59:18 -0700 | [diff] [blame] | 48 | select MRC_SETTINGS_VARIABLE_DATA |
Aaron Durbin | f5ff854 | 2016-05-05 10:38:03 -0500 | [diff] [blame] | 49 | select NO_FIXED_XIP_ROM_SIZE |
Furquan Shaikh | 94b18a1 | 2016-05-04 23:25:16 -0700 | [diff] [blame] | 50 | select NO_XIP_EARLY_STAGES |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 51 | select PARALLEL_MP |
Andrey Petrov | a697c19 | 2016-12-07 10:47:46 -0800 | [diff] [blame] | 52 | select PARALLEL_MP_AP_WORK |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 53 | select PCIEXP_ASPM |
| 54 | select PCIEXP_COMMON_CLOCK |
| 55 | select PCIEXP_CLK_PM |
| 56 | select PCIEXP_L1_SUB_STATE |
Subrata Banik | 7952e28 | 2017-03-14 18:26:27 +0530 | [diff] [blame] | 57 | select PCIEX_LENGTH_256MB |
Hannah Williams | 1177bf5 | 2017-12-13 12:44:26 -0800 | [diff] [blame] | 58 | select PMC_INVALID_READ_AFTER_WRITE |
Julien Viard de Galbert | 2912e8e | 2018-08-14 16:15:26 +0200 | [diff] [blame] | 59 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 60 | select REG_SCRIPT |
Subrata Banik | 208587e | 2017-05-19 18:38:24 +0530 | [diff] [blame] | 61 | select SA_ENABLE_IMR |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 62 | select SOC_INTEL_COMMON |
Shaunak Saha | 60b4618 | 2016-08-02 17:25:13 -0700 | [diff] [blame] | 63 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 64 | select SOC_INTEL_COMMON_BLOCK |
Shaunak Saha | bd42780 | 2017-07-18 00:19:33 -0700 | [diff] [blame] | 65 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 66 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
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 |
Furquan Shaikh | 2c36889 | 2018-10-18 16:22:37 -0700 | [diff] [blame] | 71 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Aaron Durbin | aa2504a | 2017-07-14 16:53:49 -0600 | [diff] [blame] | 72 | select SOC_INTEL_COMMON_BLOCK_GPIO_MULTI_ACPI_DEVICES |
Hannah Williams | 12bed18 | 2017-05-26 20:31:15 -0700 | [diff] [blame] | 73 | select SOC_INTEL_COMMON_BLOCK_GPIO_ITSS_POL_CFG |
| 74 | select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY |
Subrata Banik | b7b5666 | 2017-11-28 17:54:15 +0530 | [diff] [blame] | 75 | select SOC_INTEL_COMMON_BLOCK_GRAPHICS |
Bora Guvendik | 33117ec | 2017-04-10 15:49:02 -0700 | [diff] [blame] | 76 | select SOC_INTEL_COMMON_BLOCK_ITSS |
Rizwan Qureshi | ae6a4b6 | 2017-04-26 21:06:35 +0530 | [diff] [blame] | 77 | select SOC_INTEL_COMMON_BLOCK_I2C |
Ravi Sarawadi | efa606b | 2017-08-04 16:26:09 -0700 | [diff] [blame] | 78 | select SOC_INTEL_COMMON_BLOCK_LPC |
Aamir Bohra | 138b2a0 | 2017-04-06 20:21:58 +0530 | [diff] [blame] | 79 | select SOC_INTEL_COMMON_BLOCK_LPSS |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 80 | select SOC_INTEL_COMMON_BLOCK_PCR |
Lijian Zhao | 8aba24d | 2017-10-26 12:16:53 -0700 | [diff] [blame] | 81 | select SOC_INTEL_COMMON_BLOCK_P2SB |
Shaunak Saha | 93cdc8b | 2017-04-18 15:42:09 -0700 | [diff] [blame] | 82 | select SOC_INTEL_COMMON_BLOCK_PMC |
V Sowmya | 45a2138 | 2017-11-27 12:39:10 +0530 | [diff] [blame] | 83 | select SOC_INTEL_COMMON_BLOCK_SRAM |
Subrata Banik | 8bf69d3 | 2017-03-09 13:43:54 +0530 | [diff] [blame] | 84 | select SOC_INTEL_COMMON_BLOCK_RTC |
Aamir Bohra | bf6dfae | 2017-04-07 21:10:27 +0530 | [diff] [blame] | 85 | select SOC_INTEL_COMMON_BLOCK_SA |
Bora Guvendik | 65623b7 | 2017-05-08 16:29:17 -0700 | [diff] [blame] | 86 | select SOC_INTEL_COMMON_BLOCK_SCS |
Aamir Bohra | 4c9cf30 | 2017-05-25 14:38:37 +0530 | [diff] [blame] | 87 | select SOC_INTEL_COMMON_BLOCK_TIMER |
Subrata Banik | 7bc4dc5 | 2018-05-17 18:40:32 +0530 | [diff] [blame] | 88 | select SOC_INTEL_COMMON_BLOCK_TCO |
Aamir Bohra | bf6dfae | 2017-04-07 21:10:27 +0530 | [diff] [blame] | 89 | select SOC_INTEL_COMMON_BLOCK_UART |
Subrata Banik | 4aaa7e3 | 2017-04-24 11:54:34 +0530 | [diff] [blame] | 90 | select SOC_INTEL_COMMON_BLOCK_XDCI |
Subrata Banik | 73b1797 | 2017-04-24 10:25:56 +0530 | [diff] [blame] | 91 | select SOC_INTEL_COMMON_BLOCK_XHCI |
Karthikeyan Ramasubramanian | f84c103 | 2019-03-20 13:15:00 -0600 | [diff] [blame] | 92 | select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
Brandon Breitenstein | a86d1b8 | 2017-06-08 17:32:02 -0700 | [diff] [blame] | 93 | select SOC_INTEL_COMMON_BLOCK_SMM |
Subrata Banik | 15129b4 | 2017-11-07 17:50:48 +0530 | [diff] [blame] | 94 | select SOC_INTEL_COMMON_BLOCK_SPI |
Marshall Dawson | 0cc28d7 | 2017-12-12 12:24:19 -0700 | [diff] [blame] | 95 | select SOC_INTEL_COMMON_BLOCK_CSE |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 96 | select UDELAY_TSC |
Hannah Williams | b13d454 | 2016-03-14 17:38:51 -0700 | [diff] [blame] | 97 | select TSC_MONOTONIC_TIMER |
Andrey Petrov | 0d18791 | 2016-02-25 18:39:38 -0800 | [diff] [blame] | 98 | select PLATFORM_USES_FSP2_0 |
Subrata Banik | 7455881 | 2018-01-25 11:41:04 +0530 | [diff] [blame] | 99 | select UDK_2015_BINDING if !SOC_INTEL_GLK |
| 100 | select UDK_2017_BINDING if SOC_INTEL_GLK |
Patrick Rudolph | f677d17 | 2018-10-01 19:17:11 +0200 | [diff] [blame] | 101 | select SOC_INTEL_COMMON_RESET |
| 102 | select HAVE_CF9_RESET_PREPARE |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 103 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Nico Huber | 2e7f6cc | 2017-05-22 15:58:03 +0200 | [diff] [blame] | 104 | select HAVE_FSP_GOP |
Ravi Sarawadi | 92b487d | 2017-11-29 16:11:32 -0800 | [diff] [blame] | 105 | select NO_UART_ON_SUPERIO |
Patrick Rudolph | c7edf18 | 2017-09-26 19:34:35 +0200 | [diff] [blame] | 106 | select INTEL_GMA_ACPI |
| 107 | select INTEL_GMA_SWSMISCI |
Zhao, Lijian | d8d42c2 | 2016-03-14 14:19:22 -0700 | [diff] [blame] | 108 | |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 109 | config CHROMEOS |
| 110 | select CHROMEOS_RAMOOPS_DYNAMIC |
Julius Werner | 58c3938 | 2017-02-13 17:53:29 -0800 | [diff] [blame] | 111 | |
| 112 | config VBOOT |
| 113 | select VBOOT_SEPARATE_VERSTAGE |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 114 | select VBOOT_MUST_REQUEST_DISPLAY |
Furquan Shaikh | 7c7b291 | 2016-07-22 09:02:35 -0700 | [diff] [blame] | 115 | select VBOOT_SAVE_RECOVERY_REASON_ON_REBOOT |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 116 | select VBOOT_STARTS_IN_BOOTBLOCK |
Furquan Shaikh | 2a12e2e | 2016-07-25 11:48:03 -0700 | [diff] [blame] | 117 | select VBOOT_VBNV_CMOS |
| 118 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 119 | |
Aaron Durbin | 80a3df2 | 2016-04-27 23:05:52 -0500 | [diff] [blame] | 120 | config TPM_ON_FAST_SPI |
| 121 | bool |
| 122 | default n |
Philipp Deppenwiese | c07f8fb | 2018-02-27 19:40:52 +0100 | [diff] [blame] | 123 | depends on MAINBOARD_HAS_LPC_TPM |
Aaron Durbin | 80a3df2 | 2016-04-27 23:05:52 -0500 | [diff] [blame] | 124 | help |
| 125 | TPM part is conntected on Fast SPI interface, but the LPC MMIO |
| 126 | TPM transactions are decoded and serialized over the SPI interface. |
| 127 | |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 128 | config PCR_BASE_ADDRESS |
| 129 | hex |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 130 | default 0xd0000000 |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 131 | help |
| 132 | This option allows you to select MMIO Base Address of sideband bus. |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 133 | |
| 134 | config DCACHE_RAM_BASE |
Arthur Heymans | 3038b48 | 2017-06-13 14:05:09 +0200 | [diff] [blame] | 135 | hex |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 136 | default 0xfef00000 |
| 137 | |
| 138 | config DCACHE_RAM_SIZE |
Arthur Heymans | 3038b48 | 2017-06-13 14:05:09 +0200 | [diff] [blame] | 139 | hex |
Aaron Durbin | fa529bb | 2018-04-12 14:00:45 -0600 | [diff] [blame] | 140 | default 0x100000 if SOC_INTEL_GLK |
Andrey Petrov | 0dde291 | 2016-06-27 15:21:26 -0700 | [diff] [blame] | 141 | default 0xc0000 |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 142 | help |
| 143 | The size of the cache-as-ram region required during bootblock |
| 144 | and/or romstage. |
| 145 | |
| 146 | config DCACHE_BSP_STACK_SIZE |
| 147 | hex |
| 148 | default 0x4000 |
| 149 | help |
| 150 | The amount of anticipated stack usage in CAR by bootblock and |
| 151 | other stages. |
| 152 | |
Aaron Durbin | 551e4be | 2018-04-10 09:24:54 -0600 | [diff] [blame] | 153 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
Duncan Laurie | ff8bce0 | 2016-06-27 10:57:13 -0700 | [diff] [blame] | 154 | int |
Aaron Durbin | 24de597 | 2018-04-10 09:28:42 -0600 | [diff] [blame] | 155 | default 100 |
Duncan Laurie | ff8bce0 | 2016-06-27 10:57:13 -0700 | [diff] [blame] | 156 | |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 157 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 158 | int |
Aaron Durbin | 24de597 | 2018-04-10 09:28:42 -0600 | [diff] [blame] | 159 | default 133 |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 160 | |
Aaron Durbin | ada13ed | 2016-02-11 14:47:33 -0600 | [diff] [blame] | 161 | # 32KiB bootblock is all that is mapped in by the CSE at top of 4GiB. |
| 162 | config C_ENV_BOOTBLOCK_SIZE |
| 163 | hex |
| 164 | default 0x8000 |
| 165 | |
Andrey Petrov | 5672dcd | 2016-02-12 15:12:43 -0800 | [diff] [blame] | 166 | # This SoC does not map SPI flash like many previous SoC. Therefore we provide |
| 167 | # a custom media driver that facilitates mapping |
| 168 | config X86_TOP4G_BOOTMEDIA_MAP |
| 169 | bool |
| 170 | default n |
Andrey Petrov | b483146 | 2016-02-25 17:42:25 -0800 | [diff] [blame] | 171 | |
| 172 | config ROMSTAGE_ADDR |
| 173 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 174 | default 0xfef20000 |
Andrey Petrov | b483146 | 2016-02-25 17:42:25 -0800 | [diff] [blame] | 175 | help |
| 176 | The base address (in CAR) where romstage should be linked |
| 177 | |
Aaron Durbin | bef75e7 | 2016-05-26 11:00:44 -0500 | [diff] [blame] | 178 | config VERSTAGE_ADDR |
| 179 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 180 | default 0xfef40000 |
Aaron Durbin | bef75e7 | 2016-05-26 11:00:44 -0500 | [diff] [blame] | 181 | help |
| 182 | The base address (in CAR) where verstage should be linked |
| 183 | |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 184 | config FSP_HEADER_PATH |
Patrick Georgi | c6382cd | 2018-10-26 22:03:17 +0200 | [diff] [blame] | 185 | string "Location of FSP headers" |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 186 | default "src/vendorcode/intel/fsp/fsp2_0/glk" if SOC_INTEL_GLK |
| 187 | default "3rdparty/fsp/ApolloLakeFspBinPkg/Include/" |
| 188 | |
| 189 | config FSP_FD_PATH |
| 190 | string |
| 191 | depends on FSP_USE_REPO |
| 192 | default "3rdparty/fsp/ApolloLakeFspBinPkg/FspBin/Fsp.fd" |
| 193 | |
Andrey Petrov | 79091db7 | 2016-05-17 00:03:27 -0700 | [diff] [blame] | 194 | config FSP_M_ADDR |
| 195 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 196 | default 0xfef40000 |
Andrey Petrov | 79091db7 | 2016-05-17 00:03:27 -0700 | [diff] [blame] | 197 | help |
| 198 | The address FSP-M will be relocated to during build time |
| 199 | |
Aaron Durbin | 9f444c3 | 2016-05-20 10:48:44 -0500 | [diff] [blame] | 200 | config NEED_LBP2 |
| 201 | bool "Write contents for logical boot partition 2." |
| 202 | default n |
| 203 | help |
| 204 | Write the contents from a file into the logical boot partition 2 |
| 205 | region defined by LBP2_FMAP_NAME. |
| 206 | |
| 207 | config LBP2_FMAP_NAME |
| 208 | string "Name of FMAP region to put logical boot partition 2" |
| 209 | depends on NEED_LBP2 |
| 210 | default "SIGN_CSE" |
| 211 | help |
| 212 | Name of FMAP region to write logical boot partition 2 data. |
| 213 | |
| 214 | config LBP2_FILE_NAME |
| 215 | string "Path of file to write to logical boot partition 2 region" |
| 216 | depends on NEED_LBP2 |
| 217 | default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/lbp2.bin" |
| 218 | help |
| 219 | Name of file to store in the logical boot partition 2 region. |
| 220 | |
Furquan Shaikh | 7043bf3 | 2016-05-28 12:57:05 -0700 | [diff] [blame] | 221 | config NEED_IFWI |
| 222 | bool "Write content into IFWI region" |
| 223 | default n |
| 224 | help |
| 225 | Write the content from a file into IFWI region defined by |
| 226 | IFWI_FMAP_NAME. |
| 227 | |
| 228 | config IFWI_FMAP_NAME |
| 229 | string "Name of FMAP region to pull IFWI into" |
| 230 | depends on NEED_IFWI |
| 231 | default "IFWI" |
| 232 | help |
| 233 | Name of FMAP region to write IFWI. |
| 234 | |
| 235 | config IFWI_FILE_NAME |
| 236 | string "Path of file to write to IFWI region" |
| 237 | depends on NEED_IFWI |
| 238 | default "3rdparty/blobs/mainboard/$(CONFIG_MAINBOARD_DIR)/ifwi.bin" |
| 239 | help |
| 240 | Name of file to store in the IFWI region. |
| 241 | |
Sathyanarayana Nujella | c446704 | 2016-10-26 17:38:49 -0700 | [diff] [blame] | 242 | config HEAP_SIZE |
| 243 | hex |
| 244 | default 0x8000 |
| 245 | |
Sathyanarayana Nujella | 3e0a3fb | 2016-10-26 17:31:36 -0700 | [diff] [blame] | 246 | config NHLT_DMIC_1CH_16B |
| 247 | bool |
| 248 | depends on ACPI_NHLT |
| 249 | default n |
| 250 | help |
| 251 | Include DSP firmware settings for 1 channel 16B DMIC array. |
| 252 | |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 253 | config NHLT_DMIC_2CH_16B |
| 254 | bool |
| 255 | depends on ACPI_NHLT |
| 256 | default n |
| 257 | help |
| 258 | Include DSP firmware settings for 2 channel 16B DMIC array. |
| 259 | |
Sathyanarayana Nujella | 3e0a3fb | 2016-10-26 17:31:36 -0700 | [diff] [blame] | 260 | config NHLT_DMIC_4CH_16B |
| 261 | bool |
| 262 | depends on ACPI_NHLT |
| 263 | default n |
| 264 | help |
| 265 | Include DSP firmware settings for 4 channel 16B DMIC array. |
| 266 | |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 267 | config NHLT_MAX98357 |
| 268 | bool |
| 269 | depends on ACPI_NHLT |
| 270 | default n |
| 271 | help |
| 272 | Include DSP firmware settings for headset codec. |
| 273 | |
| 274 | config NHLT_DA7219 |
| 275 | bool |
| 276 | depends on ACPI_NHLT |
| 277 | default n |
| 278 | help |
| 279 | Include DSP firmware settings for headset codec. |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 280 | |
Naveen Manohar | 532b8d5 | 2018-04-27 15:24:45 +0530 | [diff] [blame] | 281 | config NHLT_RT5682 |
| 282 | bool |
| 283 | depends on ACPI_NHLT |
| 284 | default n |
| 285 | help |
| 286 | Include DSP firmware settings for headset codec. |
| 287 | |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 288 | choice |
| 289 | prompt "Cache-as-ram implementation" |
Hannah Williams | 3ff14a0 | 2017-05-05 16:30:22 -0700 | [diff] [blame] | 290 | default CAR_CQOS if !SOC_INTEL_GLK |
| 291 | default CAR_NEM |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 292 | help |
| 293 | This option allows you to select how cache-as-ram (CAR) is set up. |
| 294 | |
| 295 | config CAR_NEM |
| 296 | bool "Non-evict mode" |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 297 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 298 | select INTEL_CAR_NEM |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 299 | help |
| 300 | Traditionally, CAR is set up by using Non-Evict mode. This method |
| 301 | does not allow CAR and cache to co-exist, because cache fills are |
| 302 | block in NEM mode. |
| 303 | |
| 304 | config CAR_CQOS |
| 305 | bool "Cache Quality of Service" |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 306 | select SOC_INTEL_COMMON_BLOCK_CAR |
| 307 | select INTEL_CAR_CQOS |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 308 | help |
| 309 | Cache Quality of Service allows more fine-grained control of cache |
| 310 | usage. As result, it is possible to set up portion of L2 cache for |
| 311 | CAR and use remainder for actual caching. |
| 312 | |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 313 | config USE_APOLLOLAKE_FSP_CAR |
| 314 | bool "Use FSP CAR" |
| 315 | select FSP_CAR |
| 316 | help |
Subrata Banik | 7952e28 | 2017-03-14 18:26:27 +0530 | [diff] [blame] | 317 | Use FSP APIs to initialize & tear down the Cache-As-Ram. |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 318 | |
Andrey Petrov | 3f4aece | 2016-06-27 13:39:34 -0700 | [diff] [blame] | 319 | endchoice |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 320 | |
Subrata Banik | 8e1c12f1 | 2017-03-10 13:51:11 +0530 | [diff] [blame] | 321 | # |
| 322 | # Each bit in QOS mask controls this many bytes. This is calculated as: |
| 323 | # (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS |
| 324 | # |
| 325 | |
| 326 | config CACHE_QOS_SIZE_PER_BIT |
| 327 | hex |
| 328 | default 0x20000 # 128 KB |
| 329 | |
| 330 | config L2_CACHE_SIZE |
| 331 | hex |
Aaron Durbin | fa529bb | 2018-04-12 14:00:45 -0600 | [diff] [blame] | 332 | default 0x400000 if SOC_INTEL_GLK |
Subrata Banik | 8e1c12f1 | 2017-03-10 13:51:11 +0530 | [diff] [blame] | 333 | default 0x100000 |
| 334 | |
Aaron Durbin | bdb6cc9 | 2016-08-11 09:48:52 -0500 | [diff] [blame] | 335 | config SPI_FLASH_INCLUDE_ALL_DRIVERS |
| 336 | bool |
| 337 | default n |
| 338 | |
Brandon Breitenstein | 135eae9 | 2016-09-30 13:57:12 -0700 | [diff] [blame] | 339 | config SMM_RESERVED_SIZE |
| 340 | hex |
| 341 | default 0x100000 |
| 342 | |
Andrey Petrov | 4c5b31e | 2016-11-06 23:43:57 -0800 | [diff] [blame] | 343 | config IFD_CHIPSET |
| 344 | string |
Furquan Shaikh | c0257dd | 2018-05-02 23:29:04 -0700 | [diff] [blame] | 345 | default "glk" if SOC_INTEL_GLK |
Andrey Petrov | 4c5b31e | 2016-11-06 23:43:57 -0800 | [diff] [blame] | 346 | default "aplk" |
| 347 | |
Aamir Bohra | 22b2c79 | 2017-06-02 19:07:56 +0530 | [diff] [blame] | 348 | config CPU_BCLK_MHZ |
| 349 | int |
| 350 | default 100 |
| 351 | |
Nico Huber | 9995418 | 2019-05-29 23:33:06 +0200 | [diff] [blame] | 352 | config CONSOLE_UART_BASE_ADDRESS |
| 353 | hex |
| 354 | default 0xddffc000 |
| 355 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 356 | |
Mario Scheithauer | 38b6100 | 2017-07-25 10:52:41 +0200 | [diff] [blame] | 357 | config APL_SKIP_SET_POWER_LIMITS |
| 358 | bool |
| 359 | default n |
| 360 | help |
| 361 | Some Apollo Lake mainboards do not need the Running Average Power |
| 362 | Limits (RAPL) algorithm for a constant power management. |
| 363 | Set this config option to skip the RAPL configuration. |
| 364 | |
Werner Zeh | 2636186 | 2018-11-21 12:36:21 +0100 | [diff] [blame] | 365 | config APL_SET_MIN_CLOCK_RATIO |
| 366 | bool |
| 367 | depends on !APL_SKIP_SET_POWER_LIMITS |
| 368 | default n |
| 369 | help |
| 370 | If the power budget of the mainboard is limited, it can be useful to |
| 371 | limit the CPU power dissipation at the cost of performance by setting |
| 372 | the lowest possible CPU clock. Enable this option if you need smallest |
| 373 | possible CPU clock. This setting can be overruled by the OS if it has an |
| 374 | p-state driver which can adjust the clock to its need. |
| 375 | |
Furquan Shaikh | 3406dd6 | 2017-08-04 15:58:26 -0700 | [diff] [blame] | 376 | # M and N divisor values for clock frequency configuration. |
| 377 | # These values get us a 1.836 MHz clock (ideally we want 1.843 MHz) |
| 378 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 379 | hex |
| 380 | default 0x25a |
| 381 | |
| 382 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 383 | hex |
| 384 | default 0x7fff |
| 385 | |
Bora Guvendik | 94aed8d | 2017-11-03 12:40:25 -0700 | [diff] [blame] | 386 | config SOC_ESPI |
| 387 | bool |
| 388 | default n |
| 389 | help |
| 390 | Use eSPI bus instead of LPC |
| 391 | |
Ravi Sarawadi | 3669a06 | 2018-02-27 13:23:42 -0800 | [diff] [blame] | 392 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 393 | int |
| 394 | default 3 |
| 395 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 396 | config SOC_INTEL_I2C_DEV_MAX |
| 397 | int |
| 398 | default 8 |
| 399 | |
Aaron Durbin | 5c9df70 | 2018-04-18 01:05:25 -0600 | [diff] [blame] | 400 | # Don't include the early page tables in RW_A or RW_B cbfs regions |
| 401 | config RO_REGION_ONLY |
| 402 | string |
| 403 | default "pdpt pt" |
| 404 | |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 405 | endif |