Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 1 | config SOC_INTEL_APOLLOLAKE |
| 2 | bool |
Arthur Heymans | 5e8c906 | 2021-06-15 11:19:52 +0200 | [diff] [blame] | 3 | select INTEL_CAR_CQOS |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 4 | help |
| 5 | Intel Apollolake support |
| 6 | |
Angel Pons | b36100f | 2020-09-07 13:18:10 +0200 | [diff] [blame] | 7 | config SOC_INTEL_GEMINILAKE |
Hannah Williams | 3ff14a0 | 2017-05-05 16:30:22 -0700 | [diff] [blame] | 8 | bool |
| 9 | default n |
| 10 | select SOC_INTEL_APOLLOLAKE |
Furquan Shaikh | 23e8813 | 2020-10-08 23:44:20 -0700 | [diff] [blame] | 11 | select SOC_INTEL_COMMON_BLOCK_CNVI |
Pratik Prajapati | dc194e2 | 2017-08-29 14:27:07 -0700 | [diff] [blame] | 12 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
| 13 | select SOC_INTEL_COMMON_BLOCK_SGX |
Ravi Sarawadi | 3669a06 | 2018-02-27 13:23:42 -0800 | [diff] [blame] | 14 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
Aaron Durbin | 82d0f91 | 2018-04-21 00:16:28 -0600 | [diff] [blame] | 15 | select IDT_IN_EVERY_STAGE |
Aaron Durbin | 5c9df70 | 2018-04-18 01:05:25 -0600 | [diff] [blame] | 16 | select PAGING_IN_CACHE_AS_RAM |
Arthur Heymans | 5e8c906 | 2021-06-15 11:19:52 +0200 | [diff] [blame] | 17 | select INTEL_CAR_NEM |
Hannah Williams | 3ff14a0 | 2017-05-05 16:30:22 -0700 | [diff] [blame] | 18 | help |
| 19 | Intel GLK support |
| 20 | |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 21 | if SOC_INTEL_APOLLOLAKE |
| 22 | |
| 23 | config CPU_SPECIFIC_OPTIONS |
| 24 | def_bool y |
Aaron Durbin | ed35b7c | 2016-07-13 23:17:38 -0500 | [diff] [blame] | 25 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Nico Huber | 44c6cf6 | 2018-11-24 17:53:17 +0100 | [diff] [blame] | 26 | select ACPI_NO_PCAT_8259 |
Angel Pons | 8e035e3 | 2021-06-22 12:58:20 +0200 | [diff] [blame] | 27 | select ARCH_X86 |
Aaron Durbin | e8e118d | 2016-08-12 15:00:10 -0500 | [diff] [blame] | 28 | select BOOT_DEVICE_SUPPORTS_WRITES |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 29 | # CPU specific options |
Angel Pons | ae0d8d6 | 2020-09-02 15:00:40 +0200 | [diff] [blame] | 30 | select CPU_INTEL_COMMON |
Michael Niewöhner | fe6070f | 2020-10-04 15:16:04 +0200 | [diff] [blame] | 31 | select CPU_SUPPORTS_PM_TIMER_EMULATION |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 32 | select PCR_COMMON_IOSF_1_0 |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 33 | select SSE2 |
| 34 | select SUPPORT_CPU_UCODE_IN_CBFS |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 35 | # Audio options |
| 36 | select ACPI_NHLT |
| 37 | select SOC_INTEL_COMMON_NHLT |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 38 | # Misc options |
Aaron Durbin | 934f433 | 2017-12-15 12:59:18 -0700 | [diff] [blame] | 39 | select CACHE_MRC_SETTINGS |
Sean Rhodes | 7bbc9a5 | 2022-07-18 11:31:00 +0100 | [diff] [blame] | 40 | select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2 |
Werner Zeh | b60e69b | 2022-05-17 10:19:19 +0200 | [diff] [blame] | 41 | select FAST_SPI_GENERATE_SSDT |
Ravi Sarawadi | a3d13fbd6 | 2017-04-25 19:30:58 -0700 | [diff] [blame] | 42 | select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 43 | select FSP_STATUS_GLOBAL_RESET_REQUIRED_5 |
Duncan Laurie | d25dd99 | 2016-06-29 10:47:48 -0700 | [diff] [blame] | 44 | select GENERIC_GPIO_LIB |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 45 | select HAVE_ASAN_IN_ROMSTAGE |
| 46 | select HAVE_CF9_RESET_PREPARE |
Subrata Banik | 4225a79 | 2022-12-19 18:24:13 +0530 | [diff] [blame^] | 47 | select HAVE_DPTF_EISA_HID |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 48 | select HAVE_FSP_GOP |
| 49 | select HAVE_FSP_LOGO_SUPPORT |
Angel Pons | b36100f | 2020-09-07 13:18:10 +0200 | [diff] [blame] | 50 | select HAVE_INTEL_FSP_REPO if !SOC_INTEL_GEMINILAKE |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 51 | select HAVE_SMI_HANDLER |
| 52 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
| 53 | select INTEL_GMA_ACPI |
| 54 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
| 55 | select INTEL_GMA_SWSMISCI |
Furquan Shaikh | ffb3a2d | 2016-10-24 15:28:23 -0700 | [diff] [blame] | 56 | select MRC_SETTINGS_PROTECT |
Aaron Durbin | 934f433 | 2017-12-15 12:59:18 -0700 | [diff] [blame] | 57 | select MRC_SETTINGS_VARIABLE_DATA |
Michael Niewöhner | c9a12f2 | 2021-09-24 23:22:51 +0200 | [diff] [blame] | 58 | select NO_PM_ACPI_TIMER |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 59 | select NO_UART_ON_SUPERIO |
| 60 | select NO_XIP_EARLY_STAGES |
Arthur Heymans | e247435 | 2020-11-30 15:42:49 +0100 | [diff] [blame] | 61 | select FSP_COMPRESS_FSP_M_LZ4 |
Andrey Petrov | a697c19 | 2016-12-07 10:47:46 -0800 | [diff] [blame] | 62 | select PARALLEL_MP_AP_WORK |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 63 | select PCIEXP_ASPM |
| 64 | select PCIEXP_COMMON_CLOCK |
| 65 | select PCIEXP_CLK_PM |
| 66 | select PCIEXP_L1_SUB_STATE |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 67 | select PLATFORM_USES_FSP2_0 |
Hannah Williams | 1177bf5 | 2017-12-13 12:44:26 -0800 | [diff] [blame] | 68 | select PMC_INVALID_READ_AFTER_WRITE |
Julien Viard de Galbert | 2912e8e | 2018-08-14 16:15:26 +0200 | [diff] [blame] | 69 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 70 | select REG_SCRIPT |
Subrata Banik | 208587e | 2017-05-19 18:38:24 +0530 | [diff] [blame] | 71 | select SA_ENABLE_IMR |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 72 | select SOC_INTEL_COMMON |
Shaunak Saha | 60b4618 | 2016-08-02 17:25:13 -0700 | [diff] [blame] | 73 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 74 | select SOC_INTEL_COMMON_BLOCK |
Sumeet R Pawnikar | 2adb50d | 2020-05-09 15:37:09 +0530 | [diff] [blame] | 75 | select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
Shaunak Saha | bd42780 | 2017-07-18 00:19:33 -0700 | [diff] [blame] | 76 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Arthur Heymans | 5e8c906 | 2021-06-15 11:19:52 +0200 | [diff] [blame] | 77 | select SOC_INTEL_COMMON_BLOCK_CAR |
Barnali Sarkar | 66fe0c4 | 2017-05-23 18:17:14 +0530 | [diff] [blame] | 78 | select SOC_INTEL_COMMON_BLOCK_CPU |
Furquan Shaikh | 2c36889 | 2018-10-18 16:22:37 -0700 | [diff] [blame] | 79 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Aaron Durbin | aa2504a | 2017-07-14 16:53:49 -0600 | [diff] [blame] | 80 | select SOC_INTEL_COMMON_BLOCK_GPIO_MULTI_ACPI_DEVICES |
Hannah Williams | 12bed18 | 2017-05-26 20:31:15 -0700 | [diff] [blame] | 81 | select SOC_INTEL_COMMON_BLOCK_GPIO_IOSTANDBY |
Subrata Banik | c176fc2 | 2022-04-25 16:59:35 +0530 | [diff] [blame] | 82 | select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PCR |
Sean Rhodes | 026f0047 | 2022-06-20 08:09:29 +0100 | [diff] [blame] | 83 | select SOC_INTEL_COMMON_PCH_CLIENT |
Arthur Heymans | 1ae8cd1 | 2020-11-19 13:59:53 +0100 | [diff] [blame] | 84 | select SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE |
V Sowmya | 45a2138 | 2017-11-27 12:39:10 +0530 | [diff] [blame] | 85 | select SOC_INTEL_COMMON_BLOCK_SRAM |
Aamir Bohra | bf6dfae | 2017-04-07 21:10:27 +0530 | [diff] [blame] | 86 | select SOC_INTEL_COMMON_BLOCK_SA |
Bora Guvendik | 65623b7 | 2017-05-08 16:29:17 -0700 | [diff] [blame] | 87 | select SOC_INTEL_COMMON_BLOCK_SCS |
Karthikeyan Ramasubramanian | f84c103 | 2019-03-20 13:15:00 -0600 | [diff] [blame] | 88 | select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
Brandon Breitenstein | a86d1b8 | 2017-06-08 17:32:02 -0700 | [diff] [blame] | 89 | select SOC_INTEL_COMMON_BLOCK_SMM |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 90 | select SOC_INTEL_COMMON_FSP_RESET |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 91 | select SOC_INTEL_COMMON_RESET |
Sean Rhodes | 026f0047 | 2022-06-20 08:09:29 +0100 | [diff] [blame] | 92 | select SOC_INTEL_INTEGRATED_SOUTHCLUSTER |
Subrata Banik | af27ac2 | 2022-02-18 00:44:15 +0530 | [diff] [blame] | 93 | select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
Arthur Heymans | 6da7fa2 | 2021-06-23 10:52:01 +0200 | [diff] [blame] | 94 | select SOC_INTEL_NO_BOOTGUARD_MSR |
Hannah Williams | b13d454 | 2016-03-14 17:38:51 -0700 | [diff] [blame] | 95 | select TSC_MONOTONIC_TIMER |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 96 | select UDELAY_TSC |
Patrick Rudolph | 05ca054 | 2022-03-22 08:33:40 +0100 | [diff] [blame] | 97 | select UDK_2017_BINDING |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 98 | select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM |
| 99 | select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT |
| 100 | select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE |
Raul E Rangel | e92a982 | 2021-06-24 16:54:27 -0600 | [diff] [blame] | 101 | # This SoC does not map SPI flash like many previous SoC. Therefore we |
| 102 | # provide a custom media driver that facilitates mapping |
| 103 | select X86_CUSTOM_BOOTMEDIA |
Zhao, Lijian | d8d42c2 | 2016-03-14 14:19:22 -0700 | [diff] [blame] | 104 | |
Sean Rhodes | fafcb74 | 2022-01-20 21:28:31 +0000 | [diff] [blame] | 105 | config SKIP_CSE_RBP |
| 106 | bool |
| 107 | default y if BOOT_DEVICE_MEMORY_MAPPED |
| 108 | help |
| 109 | Tell CSE we do not need to use Ring Buffer Protocol (RBP) to fetch |
| 110 | firmware for us if we are using memory-mapped SPI. This lets CSE |
| 111 | state machine transition to next boot state, so that it can function |
| 112 | as designed. |
| 113 | |
Subrata Banik | 206b0bc | 2022-01-06 09:34:43 +0000 | [diff] [blame] | 114 | config DISABLE_HECI1_AT_PRE_BOOT |
| 115 | default y |
| 116 | |
Subrata Banik | 526cc3e | 2022-01-31 21:55:51 +0530 | [diff] [blame] | 117 | config MAX_HECI_DEVICES |
| 118 | int |
Sean Rhodes | 843f34e | 2022-06-01 11:30:31 +0100 | [diff] [blame] | 119 | default 3 |
Subrata Banik | 526cc3e | 2022-01-31 21:55:51 +0530 | [diff] [blame] | 120 | |
Angel Pons | f4779e8 | 2020-09-07 13:40:47 +0200 | [diff] [blame] | 121 | config MAX_CPUS |
| 122 | int |
Angel Pons | c6c9b9c | 2020-09-07 13:45:53 +0200 | [diff] [blame] | 123 | default 4 |
Angel Pons | f4779e8 | 2020-09-07 13:40:47 +0200 | [diff] [blame] | 124 | |
Julius Werner | 58c3938 | 2017-02-13 17:53:29 -0800 | [diff] [blame] | 125 | config VBOOT |
| 126 | select VBOOT_SEPARATE_VERSTAGE |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 127 | select VBOOT_MUST_REQUEST_DISPLAY |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 128 | select VBOOT_STARTS_IN_BOOTBLOCK |
Sean Rhodes | d86860b | 2022-07-18 10:45:06 +0100 | [diff] [blame] | 129 | select VBOOT_VBNV_CMOS if !VBOOT_VBNV_FLASH |
| 130 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH if !VBOOT_VBNV_FLASH |
Furquan Shaikh | 87b1bcc | 2016-07-22 12:57:51 -0700 | [diff] [blame] | 131 | |
Aaron Durbin | 80a3df2 | 2016-04-27 23:05:52 -0500 | [diff] [blame] | 132 | config TPM_ON_FAST_SPI |
| 133 | bool |
| 134 | default n |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 135 | depends on MEMORY_MAPPED_TPM |
Aaron Durbin | 80a3df2 | 2016-04-27 23:05:52 -0500 | [diff] [blame] | 136 | help |
Jes B. Klinke | c6b041a1 | 2022-04-19 14:00:33 -0700 | [diff] [blame] | 137 | TPM part is conntected on Fast SPI interface and is mapped to the |
| 138 | linear address space. |
Aaron Durbin | 80a3df2 | 2016-04-27 23:05:52 -0500 | [diff] [blame] | 139 | |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 140 | config PCR_BASE_ADDRESS |
| 141 | hex |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 142 | default 0xd0000000 |
Subrata Banik | ccd8700 | 2017-03-08 17:55:26 +0530 | [diff] [blame] | 143 | help |
| 144 | This option allows you to select MMIO Base Address of sideband bus. |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 145 | |
| 146 | config DCACHE_RAM_BASE |
Arthur Heymans | 3038b48 | 2017-06-13 14:05:09 +0200 | [diff] [blame] | 147 | hex |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 148 | default 0xfef00000 |
| 149 | |
| 150 | config DCACHE_RAM_SIZE |
Arthur Heymans | 3038b48 | 2017-06-13 14:05:09 +0200 | [diff] [blame] | 151 | hex |
Angel Pons | b36100f | 2020-09-07 13:18:10 +0200 | [diff] [blame] | 152 | default 0x100000 if SOC_INTEL_GEMINILAKE |
Andrey Petrov | 0dde291 | 2016-06-27 15:21:26 -0700 | [diff] [blame] | 153 | default 0xc0000 |
Alexandru Gagniuc | dfc2b31 | 2015-10-06 17:16:41 -0700 | [diff] [blame] | 154 | help |
| 155 | The size of the cache-as-ram region required during bootblock |
| 156 | and/or romstage. |
| 157 | |
| 158 | config DCACHE_BSP_STACK_SIZE |
| 159 | hex |
| 160 | default 0x4000 |
| 161 | help |
| 162 | The amount of anticipated stack usage in CAR by bootblock and |
| 163 | other stages. |
| 164 | |
Aaron Durbin | 551e4be | 2018-04-10 09:24:54 -0600 | [diff] [blame] | 165 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
Duncan Laurie | ff8bce0 | 2016-06-27 10:57:13 -0700 | [diff] [blame] | 166 | int |
Aaron Durbin | 24de597 | 2018-04-10 09:28:42 -0600 | [diff] [blame] | 167 | default 100 |
Duncan Laurie | ff8bce0 | 2016-06-27 10:57:13 -0700 | [diff] [blame] | 168 | |
Michael Niewöhner | dadcbfb | 2020-10-04 14:48:05 +0200 | [diff] [blame] | 169 | config CPU_XTAL_HZ |
| 170 | default 19200000 |
| 171 | |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 172 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 173 | int |
Aaron Durbin | 24de597 | 2018-04-10 09:28:42 -0600 | [diff] [blame] | 174 | default 133 |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 175 | |
Aaron Durbin | ada13ed | 2016-02-11 14:47:33 -0600 | [diff] [blame] | 176 | # 32KiB bootblock is all that is mapped in by the CSE at top of 4GiB. |
| 177 | config C_ENV_BOOTBLOCK_SIZE |
| 178 | hex |
| 179 | default 0x8000 |
| 180 | |
Andrey Petrov | b483146 | 2016-02-25 17:42:25 -0800 | [diff] [blame] | 181 | config ROMSTAGE_ADDR |
| 182 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 183 | default 0xfef20000 |
Andrey Petrov | b483146 | 2016-02-25 17:42:25 -0800 | [diff] [blame] | 184 | help |
| 185 | The base address (in CAR) where romstage should be linked |
| 186 | |
Aaron Durbin | bef75e7 | 2016-05-26 11:00:44 -0500 | [diff] [blame] | 187 | config VERSTAGE_ADDR |
| 188 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 189 | default 0xfef40000 |
Aaron Durbin | bef75e7 | 2016-05-26 11:00:44 -0500 | [diff] [blame] | 190 | help |
| 191 | The base address (in CAR) where verstage should be linked |
| 192 | |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 193 | config FSP_HEADER_PATH |
Sean Rhodes | 412222a | 2022-05-19 22:02:48 +0100 | [diff] [blame] | 194 | default "src/vendorcode/intel/fsp/fsp2_0/glk/2.2.0.0" if VENDOR_GOOGLE && SOC_INTEL_GEMINILAKE |
| 195 | default "src/vendorcode/intel/fsp/fsp2_0/glk/2.2.3.1" if SOC_INTEL_GEMINILAKE |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 196 | default "3rdparty/fsp/ApolloLakeFspBinPkg/Include/" |
| 197 | |
| 198 | config FSP_FD_PATH |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 199 | default "3rdparty/fsp/ApolloLakeFspBinPkg/FspBin/Fsp.fd" |
| 200 | |
Andrey Petrov | 79091db7 | 2016-05-17 00:03:27 -0700 | [diff] [blame] | 201 | config FSP_M_ADDR |
| 202 | hex |
Andrey Petrov | 7f72c9b | 2016-06-24 18:15:09 -0700 | [diff] [blame] | 203 | default 0xfef40000 |
Andrey Petrov | 79091db7 | 2016-05-17 00:03:27 -0700 | [diff] [blame] | 204 | help |
| 205 | The address FSP-M will be relocated to during build time |
| 206 | |
Aaron Durbin | 9f444c3 | 2016-05-20 10:48:44 -0500 | [diff] [blame] | 207 | config NEED_LBP2 |
| 208 | bool "Write contents for logical boot partition 2." |
| 209 | default n |
| 210 | help |
| 211 | Write the contents from a file into the logical boot partition 2 |
| 212 | region defined by LBP2_FMAP_NAME. |
| 213 | |
| 214 | config LBP2_FMAP_NAME |
| 215 | string "Name of FMAP region to put logical boot partition 2" |
| 216 | depends on NEED_LBP2 |
| 217 | default "SIGN_CSE" |
| 218 | help |
| 219 | Name of FMAP region to write logical boot partition 2 data. |
| 220 | |
Jeremy Compostella | 0f9858f | 2019-12-12 14:39:11 -0700 | [diff] [blame] | 221 | config LBP2_FROM_IFWI |
| 222 | bool "Extract the LBP2 from the IFWI binary" |
| 223 | depends on NEED_LBP2 |
| 224 | default n |
| 225 | help |
| 226 | The Logical Boot Partition will be automatically extracted |
| 227 | from the supplied IFWI binary |
| 228 | |
Aaron Durbin | 9f444c3 | 2016-05-20 10:48:44 -0500 | [diff] [blame] | 229 | config LBP2_FILE_NAME |
| 230 | string "Path of file to write to logical boot partition 2 region" |
Jeremy Compostella | 0f9858f | 2019-12-12 14:39:11 -0700 | [diff] [blame] | 231 | depends on NEED_LBP2 && !LBP2_FROM_IFWI |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 232 | default "3rdparty/blobs/mainboard/\$(CONFIG_MAINBOARD_DIR)/lbp2.bin" |
Aaron Durbin | 9f444c3 | 2016-05-20 10:48:44 -0500 | [diff] [blame] | 233 | help |
| 234 | Name of file to store in the logical boot partition 2 region. |
| 235 | |
Furquan Shaikh | 7043bf3 | 2016-05-28 12:57:05 -0700 | [diff] [blame] | 236 | config NEED_IFWI |
| 237 | bool "Write content into IFWI region" |
| 238 | default n |
| 239 | help |
| 240 | Write the content from a file into IFWI region defined by |
| 241 | IFWI_FMAP_NAME. |
| 242 | |
| 243 | config IFWI_FMAP_NAME |
| 244 | string "Name of FMAP region to pull IFWI into" |
| 245 | depends on NEED_IFWI |
| 246 | default "IFWI" |
| 247 | help |
| 248 | Name of FMAP region to write IFWI. |
| 249 | |
| 250 | config IFWI_FILE_NAME |
| 251 | string "Path of file to write to IFWI region" |
| 252 | depends on NEED_IFWI |
Patrick Georgi | b8fba86 | 2020-06-17 21:06:53 +0200 | [diff] [blame] | 253 | default "3rdparty/blobs/mainboard/\$(CONFIG_MAINBOARD_DIR)/ifwi.bin" |
Furquan Shaikh | 7043bf3 | 2016-05-28 12:57:05 -0700 | [diff] [blame] | 254 | help |
| 255 | Name of file to store in the IFWI region. |
| 256 | |
Sathyanarayana Nujella | c446704 | 2016-10-26 17:38:49 -0700 | [diff] [blame] | 257 | config HEAP_SIZE |
| 258 | hex |
| 259 | default 0x8000 |
| 260 | |
Sean Rhodes | 026f0047 | 2022-06-20 08:09:29 +0100 | [diff] [blame] | 261 | config MAX_ROOT_PORTS |
| 262 | int |
| 263 | default 6 |
| 264 | |
Sathyanarayana Nujella | 3e0a3fb | 2016-10-26 17:31:36 -0700 | [diff] [blame] | 265 | config NHLT_DMIC_1CH_16B |
| 266 | bool |
| 267 | depends on ACPI_NHLT |
| 268 | default n |
| 269 | help |
| 270 | Include DSP firmware settings for 1 channel 16B DMIC array. |
| 271 | |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 272 | config NHLT_DMIC_2CH_16B |
| 273 | bool |
| 274 | depends on ACPI_NHLT |
| 275 | default n |
| 276 | help |
| 277 | Include DSP firmware settings for 2 channel 16B DMIC array. |
| 278 | |
Sathyanarayana Nujella | 3e0a3fb | 2016-10-26 17:31:36 -0700 | [diff] [blame] | 279 | config NHLT_DMIC_4CH_16B |
| 280 | bool |
| 281 | depends on ACPI_NHLT |
| 282 | default n |
| 283 | help |
| 284 | Include DSP firmware settings for 4 channel 16B DMIC array. |
| 285 | |
Saurabh Satija | 734aa87 | 2016-06-21 14:22:16 -0700 | [diff] [blame] | 286 | config NHLT_MAX98357 |
| 287 | bool |
| 288 | depends on ACPI_NHLT |
| 289 | default n |
| 290 | help |
| 291 | Include DSP firmware settings for headset codec. |
| 292 | |
| 293 | config NHLT_DA7219 |
| 294 | bool |
| 295 | depends on ACPI_NHLT |
| 296 | default n |
| 297 | help |
| 298 | Include DSP firmware settings for headset codec. |
Subrata Banik | fc4c7d8 | 2017-03-03 18:23:59 +0530 | [diff] [blame] | 299 | |
Naveen Manohar | 532b8d5 | 2018-04-27 15:24:45 +0530 | [diff] [blame] | 300 | config NHLT_RT5682 |
| 301 | bool |
| 302 | depends on ACPI_NHLT |
| 303 | default n |
| 304 | help |
| 305 | Include DSP firmware settings for headset codec. |
Subrata Banik | 8e1c12f1 | 2017-03-10 13:51:11 +0530 | [diff] [blame] | 306 | # |
| 307 | # Each bit in QOS mask controls this many bytes. This is calculated as: |
| 308 | # (CACHE_WAYS / CACHE_BITS_PER_MASK) * CACHE_LINE_SIZE * CACHE_SETS |
| 309 | # |
| 310 | |
| 311 | config CACHE_QOS_SIZE_PER_BIT |
| 312 | hex |
| 313 | default 0x20000 # 128 KB |
| 314 | |
| 315 | config L2_CACHE_SIZE |
| 316 | hex |
Angel Pons | b36100f | 2020-09-07 13:18:10 +0200 | [diff] [blame] | 317 | default 0x400000 if SOC_INTEL_GEMINILAKE |
Subrata Banik | 8e1c12f1 | 2017-03-10 13:51:11 +0530 | [diff] [blame] | 318 | default 0x100000 |
| 319 | |
Brandon Breitenstein | 135eae9 | 2016-09-30 13:57:12 -0700 | [diff] [blame] | 320 | config SMM_RESERVED_SIZE |
| 321 | hex |
| 322 | default 0x100000 |
| 323 | |
Sean Rhodes | dd582b0 | 2022-06-27 08:47:10 +0100 | [diff] [blame] | 324 | config CHIPSET_DEVICETREE |
| 325 | string |
| 326 | default "soc/intel/apollolake/chipset_glk.cb" if SOC_INTEL_GEMINILAKE |
| 327 | default "soc/intel/apollolake/chipset_apl.cb" |
| 328 | |
Andrey Petrov | 4c5b31e | 2016-11-06 23:43:57 -0800 | [diff] [blame] | 329 | config IFD_CHIPSET |
| 330 | string |
Angel Pons | b36100f | 2020-09-07 13:18:10 +0200 | [diff] [blame] | 331 | default "glk" if SOC_INTEL_GEMINILAKE |
Andrey Petrov | 4c5b31e | 2016-11-06 23:43:57 -0800 | [diff] [blame] | 332 | default "aplk" |
| 333 | |
Aamir Bohra | 22b2c79 | 2017-06-02 19:07:56 +0530 | [diff] [blame] | 334 | config CPU_BCLK_MHZ |
| 335 | int |
| 336 | default 100 |
| 337 | |
Nico Huber | 9995418 | 2019-05-29 23:33:06 +0200 | [diff] [blame] | 338 | config CONSOLE_UART_BASE_ADDRESS |
| 339 | hex |
| 340 | default 0xddffc000 |
| 341 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 342 | |
Furquan Shaikh | 3406dd6 | 2017-08-04 15:58:26 -0700 | [diff] [blame] | 343 | # M and N divisor values for clock frequency configuration. |
| 344 | # These values get us a 1.836 MHz clock (ideally we want 1.843 MHz) |
| 345 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 346 | hex |
| 347 | default 0x25a |
| 348 | |
| 349 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 350 | hex |
| 351 | default 0x7fff |
| 352 | |
Bora Guvendik | 94aed8d | 2017-11-03 12:40:25 -0700 | [diff] [blame] | 353 | config SOC_ESPI |
| 354 | bool |
| 355 | default n |
| 356 | help |
| 357 | Use eSPI bus instead of LPC |
| 358 | |
Ravi Sarawadi | 3669a06 | 2018-02-27 13:23:42 -0800 | [diff] [blame] | 359 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 360 | int |
| 361 | default 3 |
| 362 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 363 | config SOC_INTEL_I2C_DEV_MAX |
| 364 | int |
| 365 | default 8 |
| 366 | |
Aaron Durbin | 5c9df70 | 2018-04-18 01:05:25 -0600 | [diff] [blame] | 367 | # Don't include the early page tables in RW_A or RW_B cbfs regions |
| 368 | config RO_REGION_ONLY |
| 369 | string |
| 370 | default "pdpt pt" |
| 371 | |
Matt DeVillier | d7ef450 | 2020-04-21 01:23:10 -0500 | [diff] [blame] | 372 | config INTEL_GMA_PANEL_2 |
| 373 | bool |
| 374 | default n |
| 375 | |
| 376 | config INTEL_GMA_BCLV_OFFSET |
| 377 | default 0xc8358 if INTEL_GMA_PANEL_2 |
| 378 | default 0xc8258 |
| 379 | |
| 380 | config INTEL_GMA_BCLV_WIDTH |
| 381 | default 32 |
| 382 | |
| 383 | config INTEL_GMA_BCLM_OFFSET |
| 384 | default 0xc8354 if INTEL_GMA_PANEL_2 |
| 385 | default 0xc8254 |
| 386 | |
| 387 | config INTEL_GMA_BCLM_WIDTH |
| 388 | default 32 |
| 389 | |
Arthur Heymans | 7e0af33 | 2022-03-30 23:04:35 +0200 | [diff] [blame] | 390 | config BOOTBLOCK_IN_CBFS |
| 391 | bool |
| 392 | default n |
| 393 | |
Sean Rhodes | 026f0047 | 2022-06-20 08:09:29 +0100 | [diff] [blame] | 394 | config HAVE_PAM0_REGISTER |
| 395 | bool |
| 396 | default n |
| 397 | |
Alexandru Gagniuc | 7e86cd4 | 2015-10-06 10:33:49 -0700 | [diff] [blame] | 398 | endif |