Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 1 | config SOC_INTEL_CANNONLAKE_BASE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 2 | bool |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 3 | |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 4 | config SOC_INTEL_COFFEELAKE |
| 5 | bool |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 6 | select SOC_INTEL_CANNONLAKE_BASE |
Nico Huber | bf15b2f | 2019-12-13 13:44:04 +0100 | [diff] [blame] | 7 | select FSP_USES_CB_STACK |
Patrick Rudolph | 4dc9e5b | 2021-10-03 12:02:49 +0200 | [diff] [blame] | 8 | select HAVE_EXP_X86_64_SUPPORT |
Matt DeVillier | 575a2e5 | 2022-02-10 17:01:35 -0600 | [diff] [blame] | 9 | select HAVE_INTEL_FSP_REPO |
Subrata Banik | c176fc2 | 2022-04-25 16:59:35 +0530 | [diff] [blame] | 10 | select HECI_DISABLE_USING_SMM |
Matt DeVillier | 575a2e5 | 2022-02-10 17:01:35 -0600 | [diff] [blame] | 11 | select SOC_INTEL_CONFIGURE_DDI_A_4_LANES |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 12 | |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 13 | config SOC_INTEL_WHISKEYLAKE |
| 14 | bool |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 15 | select SOC_INTEL_CANNONLAKE_BASE |
Bora Guvendik | 349b6a1 | 2019-06-24 14:33:31 -0700 | [diff] [blame] | 16 | select FSP_USES_CB_STACK |
Johanna Schander | 8a6e036 | 2019-12-08 15:54:09 +0100 | [diff] [blame] | 17 | select HAVE_INTEL_FSP_REPO |
Subrata Banik | c176fc2 | 2022-04-25 16:59:35 +0530 | [diff] [blame] | 18 | select HECI_DISABLE_USING_SMM |
Nico Huber | dd274e2 | 2020-04-26 20:37:32 +0200 | [diff] [blame] | 19 | select SOC_INTEL_CONFIGURE_DDI_A_4_LANES |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 20 | |
Subrata Banik | fa011db | 2019-02-02 13:25:14 +0530 | [diff] [blame] | 21 | config SOC_INTEL_COMETLAKE |
| 22 | bool |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 23 | select SOC_INTEL_CANNONLAKE_BASE |
Aamir Bohra | f2ad8b3 | 2019-07-08 12:22:28 +0530 | [diff] [blame] | 24 | select FSP_USES_CB_STACK |
Johanna Schander | 8a6e036 | 2019-12-08 15:54:09 +0100 | [diff] [blame] | 25 | select HAVE_INTEL_FSP_REPO |
Matt DeVillier | 575a2e5 | 2022-02-10 17:01:35 -0600 | [diff] [blame] | 26 | select PMC_IPC_ACPI_INTERFACE if DISABLE_HECI1_AT_PRE_BOOT |
Nico Huber | dd274e2 | 2020-04-26 20:37:32 +0200 | [diff] [blame] | 27 | select SOC_INTEL_CONFIGURE_DDI_A_4_LANES |
Subrata Banik | c176fc2 | 2022-04-25 16:59:35 +0530 | [diff] [blame] | 28 | select SOC_INTEL_COMMON_BLOCK_HECI1_DISABLE_USING_PMC_IPC |
Sridhar Siricilla | afe5562 | 2022-03-16 23:36:30 +0530 | [diff] [blame] | 29 | select SOC_INTEL_COMMON_BASECODE if SOC_INTEL_CSE_LITE_SKU |
Subrata Banik | fa011db | 2019-02-02 13:25:14 +0530 | [diff] [blame] | 30 | |
Felix Singer | e1af5b8 | 2020-08-31 19:51:52 +0000 | [diff] [blame] | 31 | config SOC_INTEL_COMETLAKE_1 |
| 32 | bool |
| 33 | select SOC_INTEL_COMETLAKE |
| 34 | |
Felix Singer | 923b175 | 2020-08-31 19:56:53 +0000 | [diff] [blame] | 35 | config SOC_INTEL_COMETLAKE_2 |
| 36 | bool |
| 37 | select SOC_INTEL_COMETLAKE |
| 38 | |
| 39 | config SOC_INTEL_COMETLAKE_S |
| 40 | bool |
| 41 | select SOC_INTEL_COMETLAKE |
| 42 | |
| 43 | config SOC_INTEL_COMETLAKE_V |
| 44 | bool |
| 45 | select SOC_INTEL_COMETLAKE |
| 46 | |
praveen hodagatta pranesh | 521e48c | 2018-09-27 00:00:13 +0800 | [diff] [blame] | 47 | config SOC_INTEL_CANNONLAKE_PCH_H |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 48 | bool |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 49 | |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 50 | if SOC_INTEL_CANNONLAKE_BASE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 51 | |
| 52 | config CPU_SPECIFIC_OPTIONS |
| 53 | def_bool y |
Lijian Zhao | b3dfcb8 | 2017-08-16 22:18:52 -0700 | [diff] [blame] | 54 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Lijian Zhao | 0e956f2 | 2017-10-22 18:30:39 -0700 | [diff] [blame] | 55 | select ACPI_NHLT |
Angel Pons | 8e035e3 | 2021-06-22 12:58:20 +0200 | [diff] [blame] | 56 | select ARCH_X86 |
Lijian Zhao | 3211117 | 2017-08-16 11:40:03 -0700 | [diff] [blame] | 57 | select BOOT_DEVICE_SUPPORTS_WRITES |
Lijian Zhao | a06f55b | 2017-10-04 23:08:55 -0700 | [diff] [blame] | 58 | select CACHE_MRC_SETTINGS |
Ronak Kanabar | a432f38 | 2019-03-16 21:26:43 +0530 | [diff] [blame] | 59 | select CPU_INTEL_COMMON |
Lijian Zhao | acfc149 | 2017-07-06 15:27:27 -0700 | [diff] [blame] | 60 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Michael Niewöhner | fe6070f | 2020-10-04 15:16:04 +0200 | [diff] [blame] | 61 | select CPU_SUPPORTS_PM_TIMER_EMULATION |
Felix Singer | 30fd5bf | 2020-12-07 10:37:10 +0100 | [diff] [blame] | 62 | select DISPLAY_FSP_VERSION_INFO |
Karthikeyan Ramasubramanian | 203af60 | 2020-06-17 00:12:31 -0600 | [diff] [blame] | 63 | select FSP_COMPRESS_FSP_S_LZMA |
Furquan Shaikh | cef9879 | 2019-04-10 16:31:55 -0700 | [diff] [blame] | 64 | select FSP_M_XIP |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 65 | select FSP_STATUS_GLOBAL_RESET_REQUIRED_3 |
Nick Vaccaro | 69b5cdb | 2017-08-29 19:25:23 -0700 | [diff] [blame] | 66 | select GENERIC_GPIO_LIB |
Abhay kumar | fcf8820 | 2017-09-20 15:17:42 -0700 | [diff] [blame] | 67 | select HAVE_FSP_GOP |
Wim Vervoorn | d137150 | 2019-12-17 14:10:16 +0100 | [diff] [blame] | 68 | select HAVE_FSP_LOGO_SUPPORT |
Felix Singer | 8ba9410 | 2021-12-31 00:15:18 +0100 | [diff] [blame] | 69 | select HAVE_HYPERTHREADING |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 70 | select HAVE_SMI_HANDLER |
Aamir Bohra | e462585 | 2018-05-29 10:52:33 +0530 | [diff] [blame] | 71 | select IDT_IN_EVERY_STAGE |
Arthur Heymans | 5e8c906 | 2021-06-15 11:19:52 +0200 | [diff] [blame] | 72 | select INTEL_CAR_NEM_ENHANCED |
Felix Singer | 30fd5bf | 2020-12-07 10:37:10 +0100 | [diff] [blame] | 73 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Abhay Kumar | b0c4cbb | 2017-10-12 11:33:01 -0700 | [diff] [blame] | 74 | select INTEL_GMA_ACPI |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 75 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Lijian Zhao | a06f55b | 2017-10-04 23:08:55 -0700 | [diff] [blame] | 76 | select MRC_SETTINGS_PROTECT |
Pratik Prajapati | 01eda28 | 2017-08-17 21:09:45 -0700 | [diff] [blame] | 77 | select PARALLEL_MP_AP_WORK |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 78 | select PLATFORM_USES_FSP2_0 |
Julien Viard de Galbert | 2912e8e | 2018-08-14 16:15:26 +0200 | [diff] [blame] | 79 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 80 | select SOC_INTEL_COMMON |
Lijian Zhao | 2b074d9 | 2017-08-17 14:25:24 -0700 | [diff] [blame] | 81 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 82 | select SOC_INTEL_COMMON_BLOCK |
Lijian Zhao | 2b074d9 | 2017-08-17 14:25:24 -0700 | [diff] [blame] | 83 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Michael Niewöhner | c66e1c2 | 2020-11-12 23:50:37 +0100 | [diff] [blame] | 84 | select SOC_INTEL_COMMON_BLOCK_ACPI_CPPC |
Angel Pons | 98f672a | 2021-02-19 19:42:10 +0100 | [diff] [blame] | 85 | select SOC_INTEL_COMMON_BLOCK_ACPI_GPIO |
Michael Niewöhner | 320a3ab | 2021-01-01 21:14:16 +0100 | [diff] [blame] | 86 | select SOC_INTEL_COMMON_BLOCK_ACPI_LPIT |
Tim Wawrzynczak | 6d44437 | 2021-07-01 08:42:01 -0600 | [diff] [blame] | 87 | select SOC_INTEL_COMMON_BLOCK_ACPI_PEP |
Arthur Heymans | 5e8c906 | 2021-06-15 11:19:52 +0200 | [diff] [blame] | 88 | select SOC_INTEL_COMMON_BLOCK_CAR |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 89 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
Furquan Shaikh | 23e8813 | 2020-10-08 23:44:20 -0700 | [diff] [blame] | 90 | select SOC_INTEL_COMMON_BLOCK_CNVI |
Andrey Petrov | 3e2e050 | 2017-06-05 13:22:24 -0700 | [diff] [blame] | 91 | select SOC_INTEL_COMMON_BLOCK_CPU |
Pratik Prajapati | 01eda28 | 2017-08-17 21:09:45 -0700 | [diff] [blame] | 92 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
Angel Pons | a4cd911 | 2021-02-19 19:23:38 +0100 | [diff] [blame] | 93 | select SOC_INTEL_COMMON_BLOCK_CPU_SMMRELOCATE |
Tim Wawrzynczak | 939440c | 2019-04-26 15:03:33 -0600 | [diff] [blame] | 94 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Furquan Shaikh | a5bb716 | 2017-12-20 11:09:04 -0800 | [diff] [blame] | 95 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
praveen hodagatta pranesh | dc4fceb | 2018-10-16 18:06:18 +0800 | [diff] [blame] | 96 | select SOC_INTEL_COMMON_BLOCK_HDA |
Tim Wawrzynczak | f9bb1b4 | 2021-06-25 13:02:16 -0600 | [diff] [blame] | 97 | select SOC_INTEL_COMMON_BLOCK_IRQ |
Felix Singer | 30fd5bf | 2020-12-07 10:37:10 +0100 | [diff] [blame] | 98 | select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 99 | select SOC_INTEL_COMMON_BLOCK_SA |
Duncan Laurie | 1e06611 | 2020-04-08 11:35:52 -0700 | [diff] [blame] | 100 | select SOC_INTEL_COMMON_BLOCK_SCS |
Brandon Breitenstein | ae15486 | 2017-08-01 11:32:06 -0700 | [diff] [blame] | 101 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 102 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
Subrata Banik | 281e2c1 | 2021-11-21 01:38:13 +0530 | [diff] [blame] | 103 | select SOC_INTEL_COMMON_BLOCK_THERMAL_PCI_DEV |
Felix Singer | 30fd5bf | 2020-12-07 10:37:10 +0100 | [diff] [blame] | 104 | select SOC_INTEL_COMMON_BLOCK_XHCI |
| 105 | select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
Subrata Banik | 4ed9f9a | 2020-10-31 22:01:55 +0530 | [diff] [blame] | 106 | select SOC_INTEL_COMMON_FSP_RESET |
Felix Singer | 30fd5bf | 2020-12-07 10:37:10 +0100 | [diff] [blame] | 107 | select SOC_INTEL_COMMON_NHLT |
| 108 | select SOC_INTEL_COMMON_PCH_BASE |
| 109 | select SOC_INTEL_COMMON_RESET |
Subrata Banik | af27ac2 | 2022-02-18 00:44:15 +0530 | [diff] [blame] | 110 | select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 111 | select SSE2 |
Lijian Zhao | acfc149 | 2017-07-06 15:27:27 -0700 | [diff] [blame] | 112 | select SUPPORT_CPU_UCODE_IN_CBFS |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 113 | select TSC_MONOTONIC_TIMER |
| 114 | select UDELAY_TSC |
Subrata Banik | 7455881 | 2018-01-25 11:41:04 +0530 | [diff] [blame] | 115 | select UDK_2017_BINDING |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 116 | select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM |
| 117 | select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT |
| 118 | select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 119 | |
Edward O'Callaghan | b4a68a5 | 2019-12-15 13:30:38 +1100 | [diff] [blame] | 120 | config MAX_CPUS |
| 121 | int |
| 122 | default 12 |
| 123 | |
Felix Singer | efa5a46 | 2021-04-19 16:51:22 +0200 | [diff] [blame] | 124 | config DIMM_SPD_SIZE |
| 125 | default 512 |
| 126 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 127 | config DCACHE_RAM_BASE |
| 128 | default 0xfef00000 |
| 129 | |
| 130 | config DCACHE_RAM_SIZE |
| 131 | default 0x40000 |
| 132 | help |
| 133 | The size of the cache-as-ram region required during bootblock |
| 134 | and/or romstage. |
| 135 | |
| 136 | config DCACHE_BSP_STACK_SIZE |
| 137 | hex |
V Sowmya | 1dcc170 | 2019-10-14 14:42:34 +0530 | [diff] [blame] | 138 | default 0x20400 if FSP_USES_CB_STACK |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 139 | default 0x4000 |
| 140 | help |
| 141 | The amount of anticipated stack usage in CAR by bootblock and |
V Sowmya | 1dcc170 | 2019-10-14 14:42:34 +0530 | [diff] [blame] | 142 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 143 | sum of FSP-M stack requirement (128KiB) and CB romstage stack requirement (~1KiB). |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 144 | |
Subrata Banik | 1d260e6 | 2019-09-09 13:55:42 +0530 | [diff] [blame] | 145 | config FSP_TEMP_RAM_SIZE |
| 146 | hex |
| 147 | depends on FSP_USES_CB_STACK |
| 148 | default 0x10000 |
| 149 | help |
| 150 | The amount of anticipated heap usage in CAR by FSP. |
| 151 | Refer to Platform FSP integration guide document to know |
| 152 | the exact FSP requirement for Heap setup. |
| 153 | |
Furquan Shaikh | c0257dd | 2018-05-02 23:29:04 -0700 | [diff] [blame] | 154 | config IFD_CHIPSET |
| 155 | string |
| 156 | default "cnl" |
| 157 | |
Pratik Prajapati | 9027e1b | 2017-08-23 17:37:43 -0700 | [diff] [blame] | 158 | config IED_REGION_SIZE |
| 159 | hex |
| 160 | default 0x400000 |
| 161 | |
John Zhao | 7492bcb | 2018-02-01 15:56:28 -0800 | [diff] [blame] | 162 | config HEAP_SIZE |
| 163 | hex |
| 164 | default 0x8000 |
| 165 | |
Lijian Zhao | 0e956f2 | 2017-10-22 18:30:39 -0700 | [diff] [blame] | 166 | config NHLT_DMIC_1CH_16B |
| 167 | bool |
| 168 | depends on ACPI_NHLT |
| 169 | default n |
| 170 | help |
| 171 | Include DSP firmware settings for 1 channel 16B DMIC array. |
| 172 | |
| 173 | config NHLT_DMIC_2CH_16B |
| 174 | bool |
| 175 | depends on ACPI_NHLT |
| 176 | default n |
| 177 | help |
| 178 | Include DSP firmware settings for 2 channel 16B DMIC array. |
| 179 | |
| 180 | config NHLT_DMIC_4CH_16B |
| 181 | bool |
| 182 | depends on ACPI_NHLT |
| 183 | default n |
| 184 | help |
| 185 | Include DSP firmware settings for 4 channel 16B DMIC array. |
| 186 | |
| 187 | config NHLT_MAX98357 |
| 188 | bool |
| 189 | depends on ACPI_NHLT |
| 190 | default n |
| 191 | help |
| 192 | Include DSP firmware settings for headset codec. |
| 193 | |
N, Harshapriya | 4a1ee4b | 2017-11-28 14:29:26 -0800 | [diff] [blame] | 194 | config NHLT_MAX98373 |
| 195 | bool |
| 196 | depends on ACPI_NHLT |
| 197 | default n |
| 198 | help |
| 199 | Include DSP firmware settings for headset codec. |
| 200 | |
Lijian Zhao | 0e956f2 | 2017-10-22 18:30:39 -0700 | [diff] [blame] | 201 | config NHLT_DA7219 |
| 202 | bool |
| 203 | depends on ACPI_NHLT |
| 204 | default n |
| 205 | help |
| 206 | Include DSP firmware settings for headset codec. |
| 207 | |
Pratik Prajapati | c8c741d | 2017-08-29 11:38:42 -0700 | [diff] [blame] | 208 | config MAX_ROOT_PORTS |
| 209 | int |
praveen hodagatta pranesh | 521e48c | 2018-09-27 00:00:13 +0800 | [diff] [blame] | 210 | default 24 if SOC_INTEL_CANNONLAKE_PCH_H |
Lijian Zhao | c85890d | 2017-10-20 09:19:07 -0700 | [diff] [blame] | 211 | default 16 |
Pratik Prajapati | c8c741d | 2017-08-29 11:38:42 -0700 | [diff] [blame] | 212 | |
Rizwan Qureshi | a979460 | 2021-04-08 20:31:47 +0530 | [diff] [blame] | 213 | config MAX_PCIE_CLOCK_SRC |
Lijian Zhao | d5d89c8 | 2019-05-07 14:05:33 -0700 | [diff] [blame] | 214 | int |
| 215 | default 16 if SOC_INTEL_CANNONLAKE_PCH_H |
| 216 | default 6 |
| 217 | |
Pratik Prajapati | 9027e1b | 2017-08-23 17:37:43 -0700 | [diff] [blame] | 218 | config SMM_TSEG_SIZE |
| 219 | hex |
| 220 | default 0x800000 |
| 221 | |
Subrata Banik | e66600e | 2018-05-10 17:23:56 +0530 | [diff] [blame] | 222 | config SMM_RESERVED_SIZE |
| 223 | hex |
| 224 | default 0x200000 |
| 225 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 226 | config PCR_BASE_ADDRESS |
| 227 | hex |
| 228 | default 0xfd000000 |
| 229 | help |
| 230 | This option allows you to select MMIO Base Address of sideband bus. |
| 231 | |
Andrey Petrov | 3e2e050 | 2017-06-05 13:22:24 -0700 | [diff] [blame] | 232 | config CPU_BCLK_MHZ |
| 233 | int |
| 234 | default 100 |
| 235 | |
Aaron Durbin | 551e4be | 2018-04-10 09:24:54 -0600 | [diff] [blame] | 236 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
Lijian Zhao | f388561 | 2017-11-09 15:01:33 -0800 | [diff] [blame] | 237 | int |
| 238 | default 120 |
| 239 | |
Michael Niewöhner | dadcbfb | 2020-10-04 14:48:05 +0200 | [diff] [blame] | 240 | config CPU_XTAL_HZ |
| 241 | default 24000000 |
| 242 | |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 243 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 244 | int |
Duncan Laurie | 695f2fe | 2018-12-05 12:51:23 -0800 | [diff] [blame] | 245 | default 216 |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 246 | |
Lijian Zhao | 3211117 | 2017-08-16 11:40:03 -0700 | [diff] [blame] | 247 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 248 | int |
| 249 | default 3 |
| 250 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 251 | config SOC_INTEL_I2C_DEV_MAX |
| 252 | int |
praveen hodagatta pranesh | 521e48c | 2018-09-27 00:00:13 +0800 | [diff] [blame] | 253 | default 4 if SOC_INTEL_CANNONLAKE_PCH_H |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 254 | default 6 |
| 255 | |
Nico Huber | 9995418 | 2019-05-29 23:33:06 +0200 | [diff] [blame] | 256 | config CONSOLE_UART_BASE_ADDRESS |
| 257 | hex |
| 258 | default 0xfe032000 |
| 259 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 260 | |
Lijian Zhao | 8465a81 | 2017-07-11 12:33:22 -0700 | [diff] [blame] | 261 | # Clock divider parameters for 115200 baud rate |
| 262 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 263 | hex |
| 264 | default 0x30 |
| 265 | |
| 266 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 267 | hex |
| 268 | default 0xc35 |
| 269 | |
Lijian Zhao | 6d7063c | 2017-08-29 17:26:48 -0700 | [diff] [blame] | 270 | config VBOOT |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 271 | select VBOOT_MUST_REQUEST_DISPLAY |
Lijian Zhao | 6d7063c | 2017-08-29 17:26:48 -0700 | [diff] [blame] | 272 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 273 | select VBOOT_VBNV_CMOS |
| 274 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 275 | |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 276 | config CBFS_SIZE |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 277 | default 0x200000 |
| 278 | |
Rizwan Qureshi | 8aadab7 | 2019-02-17 11:31:21 +0530 | [diff] [blame] | 279 | config MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE |
| 280 | bool |
| 281 | default n |
| 282 | help |
| 283 | Select this if the board has a SD_PWR_ENABLE pin connected to a |
| 284 | active high sensing load switch to turn on power to the card reader. |
| 285 | This will enable a workaround in ASL _PS3 and _PS0 methods to force |
| 286 | SD_PWR_ENABLE to stay low in D3. |
| 287 | |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 288 | config FSP_HEADER_PATH |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 289 | default "3rdparty/fsp/CoffeeLakeFspBinPkg/Include/" if SOC_INTEL_COFFEELAKE || SOC_INTEL_WHISKEYLAKE |
Felix Singer | e1af5b8 | 2020-08-31 19:51:52 +0000 | [diff] [blame] | 290 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Include/" if SOC_INTEL_COMETLAKE_1 |
Felix Singer | 923b175 | 2020-08-31 19:56:53 +0000 | [diff] [blame] | 291 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake2/Include/" if SOC_INTEL_COMETLAKE_2 |
| 292 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeS/Include/" if SOC_INTEL_COMETLAKE_S |
| 293 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeV/Include/" if SOC_INTEL_COMETLAKE_V |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 294 | |
| 295 | config FSP_FD_PATH |
Johanna Schander | 0b82b3d | 2019-12-06 18:32:58 +0100 | [diff] [blame] | 296 | default "3rdparty/fsp/CoffeeLakeFspBinPkg/Fsp.fd" if SOC_INTEL_COFFEELAKE || SOC_INTEL_WHISKEYLAKE |
Felix Singer | dd9f635 | 2020-08-31 20:00:55 +0000 | [diff] [blame] | 297 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Fsp.fd" if SOC_INTEL_COMETLAKE_1 |
Felix Singer | 923b175 | 2020-08-31 19:56:53 +0000 | [diff] [blame] | 298 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake2/Fsp.fd" if SOC_INTEL_COMETLAKE_2 |
| 299 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeS/Fsp.fd" if SOC_INTEL_COMETLAKE_S |
| 300 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeV/Fsp.fd" if SOC_INTEL_COMETLAKE_V |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 301 | |
Kane Chen | 3717256 | 2019-04-11 21:55:20 +0800 | [diff] [blame] | 302 | config SOC_INTEL_CANNONLAKE_DEBUG_CONSENT |
| 303 | int "Debug Consent for CNL" |
| 304 | # USB DBC is more common for developers so make this default to 3 if |
| 305 | # SOC_INTEL_DEBUG_CONSENT=y |
| 306 | default 3 if SOC_INTEL_DEBUG_CONSENT |
| 307 | default 0 |
| 308 | help |
| 309 | This is to control debug interface on SOC. |
| 310 | Setting non-zero value will allow to use DBC or DCI to debug SOC. |
| 311 | PlatformDebugConsent in FspmUpd.h has the details. |
| 312 | |
Subrata Banik | 5ee4c12 | 2019-07-05 06:43:46 +0530 | [diff] [blame] | 313 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 314 | hex |
| 315 | default 0xe00 |
| 316 | |
Patrick Rudolph | 5fffb5e | 2019-07-25 11:55:30 +0200 | [diff] [blame] | 317 | config INTEL_TXT_BIOSACM_ALIGNMENT |
| 318 | hex |
| 319 | default 0x40000 # 256KB |
| 320 | |
Michael Niewöhner | fca152c | 2020-12-20 18:01:26 +0100 | [diff] [blame] | 321 | config INTEL_GMA_BCLV_OFFSET |
| 322 | default 0xc8258 |
| 323 | |
| 324 | config INTEL_GMA_BCLV_WIDTH |
| 325 | default 32 |
| 326 | |
| 327 | config INTEL_GMA_BCLM_OFFSET |
| 328 | default 0xc8254 |
| 329 | |
| 330 | config INTEL_GMA_BCLM_WIDTH |
| 331 | default 32 |
| 332 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 333 | endif |