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 | |
Arthur Heymans | 4821a0e | 2019-06-18 13:19:29 +0200 | [diff] [blame] | 4 | config SOC_INTEL_CANNONLAKE_ALTERNATE_HEADERS |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 5 | bool |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 6 | default y if SOC_INTEL_CANNONLAKE_BASE && !SOC_INTEL_CANNONLAKE |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 7 | help |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 8 | Single Kconfig option to select common base Cannonlake support. |
| 9 | This Kconfig will help to select majority of CNL SoC features. |
| 10 | Major difference that exist today between |
Arthur Heymans | 4821a0e | 2019-06-18 13:19:29 +0200 | [diff] [blame] | 11 | SOC_INTEL_CANNONLAKE_ALTERNATE_HEADERS and SOC_INTEL_CANNONLAKE Kconfig |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 12 | are in FSP Header Files. Hence this Kconfig might help to select |
| 13 | required SoC support FSP headers. Any future Intel SoC would |
| 14 | like to make use of CNL support might just select this Kconfig. |
| 15 | |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 16 | config SOC_INTEL_CANNONLAKE |
| 17 | bool |
| 18 | select SOC_INTEL_CANNONLAKE_BASE |
Arthur Heymans | a449290 | 2019-06-17 10:50:47 +0200 | [diff] [blame] | 19 | select MICROCODE_BLOB_NOT_IN_BLOB_REPO |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 20 | help |
| 21 | Intel Cannonlake support |
| 22 | |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 23 | config SOC_INTEL_COFFEELAKE |
| 24 | bool |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 25 | select SOC_INTEL_CANNONLAKE_BASE |
Nico Huber | bf15b2f | 2019-12-13 13:44:04 +0100 | [diff] [blame] | 26 | select FSP_USES_CB_STACK |
Johanna Schander | 8a6e036 | 2019-12-08 15:54:09 +0100 | [diff] [blame] | 27 | select HAVE_INTEL_FSP_REPO |
Nico Huber | dd274e2 | 2020-04-26 20:37:32 +0200 | [diff] [blame] | 28 | select SOC_INTEL_CONFIGURE_DDI_A_4_LANES |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 29 | help |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 30 | Intel Coffeelake support |
| 31 | |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 32 | config SOC_INTEL_WHISKEYLAKE |
| 33 | bool |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 34 | select SOC_INTEL_CANNONLAKE_BASE |
Bora Guvendik | 349b6a1 | 2019-06-24 14:33:31 -0700 | [diff] [blame] | 35 | select FSP_USES_CB_STACK |
Johanna Schander | 8a6e036 | 2019-12-08 15:54:09 +0100 | [diff] [blame] | 36 | select HAVE_INTEL_FSP_REPO |
Nico Huber | dd274e2 | 2020-04-26 20:37:32 +0200 | [diff] [blame] | 37 | select SOC_INTEL_CONFIGURE_DDI_A_4_LANES |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 38 | help |
| 39 | Intel Whiskeylake support |
| 40 | |
Subrata Banik | fa011db | 2019-02-02 13:25:14 +0530 | [diff] [blame] | 41 | config SOC_INTEL_COMETLAKE |
| 42 | bool |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 43 | select SOC_INTEL_CANNONLAKE_BASE |
Aamir Bohra | f2ad8b3 | 2019-07-08 12:22:28 +0530 | [diff] [blame] | 44 | select FSP_USES_CB_STACK |
Johanna Schander | 8a6e036 | 2019-12-08 15:54:09 +0100 | [diff] [blame] | 45 | select HAVE_INTEL_FSP_REPO |
Nico Huber | dd274e2 | 2020-04-26 20:37:32 +0200 | [diff] [blame] | 46 | select SOC_INTEL_CONFIGURE_DDI_A_4_LANES |
Subrata Banik | fa011db | 2019-02-02 13:25:14 +0530 | [diff] [blame] | 47 | help |
| 48 | Intel Cometlake support |
| 49 | |
Felix Singer | e1af5b8 | 2020-08-31 19:51:52 +0000 | [diff] [blame] | 50 | config SOC_INTEL_COMETLAKE_1 |
| 51 | bool |
| 52 | select SOC_INTEL_COMETLAKE |
| 53 | |
Felix Singer | 923b175 | 2020-08-31 19:56:53 +0000 | [diff] [blame] | 54 | config SOC_INTEL_COMETLAKE_2 |
| 55 | bool |
| 56 | select SOC_INTEL_COMETLAKE |
| 57 | |
| 58 | config SOC_INTEL_COMETLAKE_S |
| 59 | bool |
| 60 | select SOC_INTEL_COMETLAKE |
| 61 | |
| 62 | config SOC_INTEL_COMETLAKE_V |
| 63 | bool |
| 64 | select SOC_INTEL_COMETLAKE |
| 65 | |
praveen hodagatta pranesh | 521e48c | 2018-09-27 00:00:13 +0800 | [diff] [blame] | 66 | config SOC_INTEL_CANNONLAKE_PCH_H |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 67 | bool |
Lijian Zhao | 3638a52 | 2018-07-12 17:16:11 -0700 | [diff] [blame] | 68 | help |
| 69 | Choose this option if you have a PCH-H chipset. |
| 70 | |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 71 | if SOC_INTEL_CANNONLAKE_BASE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 72 | |
| 73 | config CPU_SPECIFIC_OPTIONS |
| 74 | def_bool y |
Lijian Zhao | b3dfcb8 | 2017-08-16 22:18:52 -0700 | [diff] [blame] | 75 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Lijian Zhao | 0e956f2 | 2017-10-22 18:30:39 -0700 | [diff] [blame] | 76 | select ACPI_NHLT |
Angel Pons | a32df26 | 2020-09-25 10:20:11 +0200 | [diff] [blame] | 77 | select ARCH_ALL_STAGES_X86_32 |
Lijian Zhao | 3211117 | 2017-08-16 11:40:03 -0700 | [diff] [blame] | 78 | select BOOT_DEVICE_SUPPORTS_WRITES |
Lijian Zhao | a06f55b | 2017-10-04 23:08:55 -0700 | [diff] [blame] | 79 | select CACHE_MRC_SETTINGS |
Ronak Kanabar | a432f38 | 2019-03-16 21:26:43 +0530 | [diff] [blame] | 80 | select CPU_INTEL_COMMON |
Lijian Zhao | acfc149 | 2017-07-06 15:27:27 -0700 | [diff] [blame] | 81 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
Michael Niewöhner | fe6070f | 2020-10-04 15:16:04 +0200 | [diff] [blame] | 82 | select CPU_SUPPORTS_PM_TIMER_EMULATION |
Karthikeyan Ramasubramanian | 203af60 | 2020-06-17 00:12:31 -0600 | [diff] [blame] | 83 | select FSP_COMPRESS_FSP_S_LZMA |
Furquan Shaikh | cef9879 | 2019-04-10 16:31:55 -0700 | [diff] [blame] | 84 | select FSP_M_XIP |
Nick Vaccaro | 69b5cdb | 2017-08-29 19:25:23 -0700 | [diff] [blame] | 85 | select GENERIC_GPIO_LIB |
Abhay kumar | fcf8820 | 2017-09-20 15:17:42 -0700 | [diff] [blame] | 86 | select HAVE_FSP_GOP |
Wim Vervoorn | d137150 | 2019-12-17 14:10:16 +0100 | [diff] [blame] | 87 | select HAVE_FSP_LOGO_SUPPORT |
Stefan Tauner | ef8b957 | 2018-09-06 00:34:28 +0200 | [diff] [blame] | 88 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 89 | select HAVE_SMI_HANDLER |
Aamir Bohra | e462585 | 2018-05-29 10:52:33 +0530 | [diff] [blame] | 90 | select IDT_IN_EVERY_STAGE |
Abhay Kumar | b0c4cbb | 2017-10-12 11:33:01 -0700 | [diff] [blame] | 91 | select INTEL_GMA_ACPI |
Nico Huber | 29cc331 | 2018-06-06 17:40:02 +0200 | [diff] [blame] | 92 | select INTEL_GMA_ADD_VBT if RUN_FSP_GOP |
Lijian Zhao | a515849 | 2017-08-29 14:37:17 -0700 | [diff] [blame] | 93 | select IOAPIC |
Lijian Zhao | a06f55b | 2017-10-04 23:08:55 -0700 | [diff] [blame] | 94 | select MRC_SETTINGS_PROTECT |
Pratik Prajapati | 01eda28 | 2017-08-17 21:09:45 -0700 | [diff] [blame] | 95 | select PARALLEL_MP |
| 96 | select PARALLEL_MP_AP_WORK |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 97 | select PLATFORM_USES_FSP2_0 |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 98 | select REG_SCRIPT |
Julien Viard de Galbert | 2912e8e | 2018-08-14 16:15:26 +0200 | [diff] [blame] | 99 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Subrata Banik | 0359d9d | 2020-09-28 18:43:47 +0530 | [diff] [blame] | 100 | select PMC_LOW_POWER_MODE_PROGRAM |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 101 | select SOC_INTEL_COMMON |
Lijian Zhao | 2b074d9 | 2017-08-17 14:25:24 -0700 | [diff] [blame] | 102 | select SOC_INTEL_COMMON_ACPI_WAKE_SOURCE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 103 | select SOC_INTEL_COMMON_BLOCK |
Lijian Zhao | 2b074d9 | 2017-08-17 14:25:24 -0700 | [diff] [blame] | 104 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 105 | select SOC_INTEL_COMMON_BLOCK_CHIP_CONFIG |
Furquan Shaikh | 23e8813 | 2020-10-08 23:44:20 -0700 | [diff] [blame] | 106 | select SOC_INTEL_COMMON_BLOCK_CNVI |
Andrey Petrov | 3e2e050 | 2017-06-05 13:22:24 -0700 | [diff] [blame] | 107 | select SOC_INTEL_COMMON_BLOCK_CPU |
Pratik Prajapati | 01eda28 | 2017-08-17 21:09:45 -0700 | [diff] [blame] | 108 | select SOC_INTEL_COMMON_BLOCK_CPU_MPINIT |
Tim Wawrzynczak | 939440c | 2019-04-26 15:03:33 -0600 | [diff] [blame] | 109 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Furquan Shaikh | a5bb716 | 2017-12-20 11:09:04 -0800 | [diff] [blame] | 110 | select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2 |
praveen hodagatta pranesh | dc4fceb | 2018-10-16 18:06:18 +0800 | [diff] [blame] | 111 | select SOC_INTEL_COMMON_BLOCK_HDA |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 112 | select SOC_INTEL_COMMON_BLOCK_SA |
Duncan Laurie | 1e06611 | 2020-04-08 11:35:52 -0700 | [diff] [blame] | 113 | select SOC_INTEL_COMMON_BLOCK_SCS |
Paul Fagerburg | 7803e48 | 2019-06-27 10:44:51 -0600 | [diff] [blame] | 114 | select SOC_INTEL_COMMON_BLOCK_XHCI |
| 115 | select SOC_INTEL_COMMON_BLOCK_XHCI_ELOG |
Brandon Breitenstein | ae15486 | 2017-08-01 11:32:06 -0700 | [diff] [blame] | 116 | select SOC_INTEL_COMMON_BLOCK_SMM |
| 117 | select SOC_INTEL_COMMON_BLOCK_SMM_IO_TRAP |
Subrata Banik | 2fff391 | 2020-01-16 10:13:28 +0530 | [diff] [blame] | 118 | select SOC_INTEL_COMMON_BLOCK_THERMAL |
Subrata Banik | f513ceb | 2018-05-17 15:57:43 +0530 | [diff] [blame] | 119 | select SOC_INTEL_COMMON_PCH_BASE |
Lijian Zhao | 0e956f2 | 2017-10-22 18:30:39 -0700 | [diff] [blame] | 120 | select SOC_INTEL_COMMON_NHLT |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 121 | select SOC_INTEL_COMMON_RESET |
Sumeet R Pawnikar | 309ccf7 | 2020-05-09 16:37:30 +0530 | [diff] [blame] | 122 | select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT |
Lijian Zhao | f0eb999 | 2017-09-14 14:51:12 -0700 | [diff] [blame] | 123 | select SSE2 |
Lijian Zhao | acfc149 | 2017-07-06 15:27:27 -0700 | [diff] [blame] | 124 | select SUPPORT_CPU_UCODE_IN_CBFS |
Lijian Zhao | dcf99b0 | 2017-07-30 15:40:10 -0700 | [diff] [blame] | 125 | select TSC_MONOTONIC_TIMER |
| 126 | select UDELAY_TSC |
Subrata Banik | 7455881 | 2018-01-25 11:41:04 +0530 | [diff] [blame] | 127 | select UDK_2017_BINDING |
Subrata Banik | a8733e3 | 2018-01-23 16:40:56 +0530 | [diff] [blame] | 128 | select DISPLAY_FSP_VERSION_INFO |
Praveen hodagatta pranesh | b66757f | 2018-10-23 02:43:05 +0800 | [diff] [blame] | 129 | select FSP_T_XIP if FSP_CAR |
Subrata Banik | a0368a0 | 2019-06-04 14:16:02 +0530 | [diff] [blame] | 130 | select HECI_DISABLE_USING_SMM if !SOC_INTEL_COFFEELAKE && !SOC_INTEL_WHISKEYLAKE && !SOC_INTEL_COMETLAKE |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 131 | |
Edward O'Callaghan | b4a68a5 | 2019-12-15 13:30:38 +1100 | [diff] [blame] | 132 | config MAX_CPUS |
| 133 | int |
| 134 | default 12 |
| 135 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 136 | config DCACHE_RAM_BASE |
| 137 | default 0xfef00000 |
| 138 | |
| 139 | config DCACHE_RAM_SIZE |
| 140 | default 0x40000 |
| 141 | help |
| 142 | The size of the cache-as-ram region required during bootblock |
| 143 | and/or romstage. |
| 144 | |
| 145 | config DCACHE_BSP_STACK_SIZE |
| 146 | hex |
V Sowmya | 1dcc170 | 2019-10-14 14:42:34 +0530 | [diff] [blame] | 147 | default 0x20400 if FSP_USES_CB_STACK |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 148 | default 0x4000 |
| 149 | help |
| 150 | The amount of anticipated stack usage in CAR by bootblock and |
V Sowmya | 1dcc170 | 2019-10-14 14:42:34 +0530 | [diff] [blame] | 151 | other stages. In the case of FSP_USES_CB_STACK default value will be |
| 152 | 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] | 153 | |
Subrata Banik | 1d260e6 | 2019-09-09 13:55:42 +0530 | [diff] [blame] | 154 | config FSP_TEMP_RAM_SIZE |
| 155 | hex |
| 156 | depends on FSP_USES_CB_STACK |
| 157 | default 0x10000 |
| 158 | help |
| 159 | The amount of anticipated heap usage in CAR by FSP. |
| 160 | Refer to Platform FSP integration guide document to know |
| 161 | the exact FSP requirement for Heap setup. |
| 162 | |
Furquan Shaikh | c0257dd | 2018-05-02 23:29:04 -0700 | [diff] [blame] | 163 | config IFD_CHIPSET |
| 164 | string |
| 165 | default "cnl" |
| 166 | |
Pratik Prajapati | 9027e1b | 2017-08-23 17:37:43 -0700 | [diff] [blame] | 167 | config IED_REGION_SIZE |
| 168 | hex |
| 169 | default 0x400000 |
| 170 | |
John Zhao | 7492bcb | 2018-02-01 15:56:28 -0800 | [diff] [blame] | 171 | config HEAP_SIZE |
| 172 | hex |
| 173 | default 0x8000 |
| 174 | |
Lijian Zhao | 0e956f2 | 2017-10-22 18:30:39 -0700 | [diff] [blame] | 175 | config NHLT_DMIC_1CH_16B |
| 176 | bool |
| 177 | depends on ACPI_NHLT |
| 178 | default n |
| 179 | help |
| 180 | Include DSP firmware settings for 1 channel 16B DMIC array. |
| 181 | |
| 182 | config NHLT_DMIC_2CH_16B |
| 183 | bool |
| 184 | depends on ACPI_NHLT |
| 185 | default n |
| 186 | help |
| 187 | Include DSP firmware settings for 2 channel 16B DMIC array. |
| 188 | |
| 189 | config NHLT_DMIC_4CH_16B |
| 190 | bool |
| 191 | depends on ACPI_NHLT |
| 192 | default n |
| 193 | help |
| 194 | Include DSP firmware settings for 4 channel 16B DMIC array. |
| 195 | |
| 196 | config NHLT_MAX98357 |
| 197 | bool |
| 198 | depends on ACPI_NHLT |
| 199 | default n |
| 200 | help |
| 201 | Include DSP firmware settings for headset codec. |
| 202 | |
N, Harshapriya | 4a1ee4b | 2017-11-28 14:29:26 -0800 | [diff] [blame] | 203 | config NHLT_MAX98373 |
| 204 | bool |
| 205 | depends on ACPI_NHLT |
| 206 | default n |
| 207 | help |
| 208 | Include DSP firmware settings for headset codec. |
| 209 | |
Lijian Zhao | 0e956f2 | 2017-10-22 18:30:39 -0700 | [diff] [blame] | 210 | config NHLT_DA7219 |
| 211 | bool |
| 212 | depends on ACPI_NHLT |
| 213 | default n |
| 214 | help |
| 215 | Include DSP firmware settings for headset codec. |
| 216 | |
Pratik Prajapati | c8c741d | 2017-08-29 11:38:42 -0700 | [diff] [blame] | 217 | config MAX_ROOT_PORTS |
| 218 | int |
praveen hodagatta pranesh | 521e48c | 2018-09-27 00:00:13 +0800 | [diff] [blame] | 219 | default 24 if SOC_INTEL_CANNONLAKE_PCH_H |
Lijian Zhao | c85890d | 2017-10-20 09:19:07 -0700 | [diff] [blame] | 220 | default 16 |
Pratik Prajapati | c8c741d | 2017-08-29 11:38:42 -0700 | [diff] [blame] | 221 | |
Lijian Zhao | d5d89c8 | 2019-05-07 14:05:33 -0700 | [diff] [blame] | 222 | config MAX_PCIE_CLOCKS |
| 223 | int |
| 224 | default 16 if SOC_INTEL_CANNONLAKE_PCH_H |
| 225 | default 6 |
| 226 | |
Pratik Prajapati | 9027e1b | 2017-08-23 17:37:43 -0700 | [diff] [blame] | 227 | config SMM_TSEG_SIZE |
| 228 | hex |
| 229 | default 0x800000 |
| 230 | |
Subrata Banik | e66600e | 2018-05-10 17:23:56 +0530 | [diff] [blame] | 231 | config SMM_RESERVED_SIZE |
| 232 | hex |
| 233 | default 0x200000 |
| 234 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 235 | config PCR_BASE_ADDRESS |
| 236 | hex |
| 237 | default 0xfd000000 |
| 238 | help |
| 239 | This option allows you to select MMIO Base Address of sideband bus. |
| 240 | |
Andrey Petrov | 3e2e050 | 2017-06-05 13:22:24 -0700 | [diff] [blame] | 241 | config CPU_BCLK_MHZ |
| 242 | int |
| 243 | default 100 |
| 244 | |
Aaron Durbin | 551e4be | 2018-04-10 09:24:54 -0600 | [diff] [blame] | 245 | config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ |
Lijian Zhao | f388561 | 2017-11-09 15:01:33 -0800 | [diff] [blame] | 246 | int |
| 247 | default 120 |
| 248 | |
Michael Niewöhner | dadcbfb | 2020-10-04 14:48:05 +0200 | [diff] [blame] | 249 | config CPU_XTAL_HZ |
| 250 | default 24000000 |
| 251 | |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 252 | config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ |
| 253 | int |
Duncan Laurie | 695f2fe | 2018-12-05 12:51:23 -0800 | [diff] [blame] | 254 | default 216 |
Chris Ching | b8dc63b | 2017-12-06 14:26:15 -0700 | [diff] [blame] | 255 | |
Lijian Zhao | 3211117 | 2017-08-16 11:40:03 -0700 | [diff] [blame] | 256 | config SOC_INTEL_COMMON_BLOCK_GSPI_MAX |
| 257 | int |
| 258 | default 3 |
| 259 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 260 | config SOC_INTEL_I2C_DEV_MAX |
| 261 | int |
praveen hodagatta pranesh | 521e48c | 2018-09-27 00:00:13 +0800 | [diff] [blame] | 262 | default 4 if SOC_INTEL_CANNONLAKE_PCH_H |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 263 | default 6 |
| 264 | |
Nico Huber | 9995418 | 2019-05-29 23:33:06 +0200 | [diff] [blame] | 265 | config CONSOLE_UART_BASE_ADDRESS |
| 266 | hex |
| 267 | default 0xfe032000 |
| 268 | depends on INTEL_LPSS_UART_FOR_CONSOLE |
| 269 | |
Lijian Zhao | 8465a81 | 2017-07-11 12:33:22 -0700 | [diff] [blame] | 270 | # Clock divider parameters for 115200 baud rate |
| 271 | config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL |
| 272 | hex |
| 273 | default 0x30 |
| 274 | |
| 275 | config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL |
| 276 | hex |
| 277 | default 0xc35 |
| 278 | |
Lijian Zhao | 6d7063c | 2017-08-29 17:26:48 -0700 | [diff] [blame] | 279 | config CHROMEOS |
| 280 | select CHROMEOS_RAMOOPS_DYNAMIC |
| 281 | |
| 282 | config VBOOT |
| 283 | select VBOOT_SEPARATE_VERSTAGE |
Joel Kitching | 6672bd8 | 2019-04-10 16:06:21 +0800 | [diff] [blame] | 284 | select VBOOT_MUST_REQUEST_DISPLAY |
Lijian Zhao | 6d7063c | 2017-08-29 17:26:48 -0700 | [diff] [blame] | 285 | select VBOOT_STARTS_IN_BOOTBLOCK |
| 286 | select VBOOT_VBNV_CMOS |
| 287 | select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH |
| 288 | |
Aaron Durbin | 4a8f45f | 2017-10-05 17:05:36 -0600 | [diff] [blame] | 289 | config C_ENV_BOOTBLOCK_SIZE |
| 290 | hex |
Duncan Laurie | 11340e5 | 2018-12-01 16:58:52 -0800 | [diff] [blame] | 291 | default 0xC000 |
Aaron Durbin | 4a8f45f | 2017-10-05 17:05:36 -0600 | [diff] [blame] | 292 | |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 293 | config CBFS_SIZE |
| 294 | hex |
| 295 | default 0x200000 |
| 296 | |
Rizwan Qureshi | 8aadab7 | 2019-02-17 11:31:21 +0530 | [diff] [blame] | 297 | config MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE |
| 298 | bool |
| 299 | default n |
| 300 | help |
| 301 | Select this if the board has a SD_PWR_ENABLE pin connected to a |
| 302 | active high sensing load switch to turn on power to the card reader. |
| 303 | This will enable a workaround in ASL _PS3 and _PS0 methods to force |
| 304 | SD_PWR_ENABLE to stay low in D3. |
| 305 | |
Subrata Banik | 9e3ba21 | 2018-01-08 15:28:26 +0530 | [diff] [blame] | 306 | choice |
| 307 | prompt "Cache-as-ram implementation" |
Angel Pons | 7ed704d | 2019-07-12 15:46:43 +0200 | [diff] [blame] | 308 | default USE_CANNONLAKE_CAR_NEM_ENHANCED |
Subrata Banik | 9e3ba21 | 2018-01-08 15:28:26 +0530 | [diff] [blame] | 309 | help |
| 310 | This option allows you to select how cache-as-ram (CAR) is set up. |
| 311 | |
| 312 | config USE_CANNONLAKE_CAR_NEM_ENHANCED |
| 313 | bool "Enhanced Non-evict mode" |
| 314 | select SOC_INTEL_COMMON_BLOCK_CAR |
Aamir Bohra | c1d227d | 2020-07-16 09:03:06 +0530 | [diff] [blame] | 315 | select USE_CAR_NEM_ENHANCED_V1 |
Subrata Banik | 9e3ba21 | 2018-01-08 15:28:26 +0530 | [diff] [blame] | 316 | help |
| 317 | A current limitation of NEM (Non-Evict mode) is that code and data |
| 318 | sizes are derived from the requirement to not write out any modified |
| 319 | cache line. With NEM, if there is no physical memory behind the |
| 320 | cached area, the modified data will be lost and NEM results will be |
| 321 | inconsistent. ENHANCED NEM guarantees that modified data is always |
| 322 | kept in cache while clean data is replaced. |
| 323 | |
| 324 | config USE_CANNONLAKE_FSP_CAR |
| 325 | bool "Use FSP CAR" |
| 326 | select FSP_CAR |
| 327 | help |
| 328 | Use FSP APIs to initialize and tear down the Cache-As-Ram. |
| 329 | |
| 330 | endchoice |
| 331 | |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 332 | config FSP_HEADER_PATH |
Subrata Banik | 6527b1a | 2019-01-29 11:04:25 +0530 | [diff] [blame] | 333 | default "3rdparty/fsp/CoffeeLakeFspBinPkg/Include/" if SOC_INTEL_COFFEELAKE || SOC_INTEL_WHISKEYLAKE |
Felix Singer | e1af5b8 | 2020-08-31 19:51:52 +0000 | [diff] [blame] | 334 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Include/" if SOC_INTEL_COMETLAKE_1 |
Felix Singer | 923b175 | 2020-08-31 19:56:53 +0000 | [diff] [blame] | 335 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake2/Include/" if SOC_INTEL_COMETLAKE_2 |
| 336 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeS/Include/" if SOC_INTEL_COMETLAKE_S |
| 337 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeV/Include/" if SOC_INTEL_COMETLAKE_V |
Arthur Heymans | c8db633 | 2019-06-17 13:32:13 +0200 | [diff] [blame] | 338 | default "src/vendorcode/intel/fsp/fsp2_0/cannonlake/" if SOC_INTEL_CANNONLAKE |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 339 | |
| 340 | config FSP_FD_PATH |
Johanna Schander | 0b82b3d | 2019-12-06 18:32:58 +0100 | [diff] [blame] | 341 | 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] | 342 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake1/Fsp.fd" if SOC_INTEL_COMETLAKE_1 |
Felix Singer | 923b175 | 2020-08-31 19:56:53 +0000 | [diff] [blame] | 343 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLake2/Fsp.fd" if SOC_INTEL_COMETLAKE_2 |
| 344 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeS/Fsp.fd" if SOC_INTEL_COMETLAKE_S |
| 345 | default "3rdparty/fsp/CometLakeFspBinPkg/CometLakeV/Fsp.fd" if SOC_INTEL_COMETLAKE_V |
Patrick Georgi | 6539e10 | 2018-09-13 11:48:43 -0400 | [diff] [blame] | 346 | |
Kane Chen | 3717256 | 2019-04-11 21:55:20 +0800 | [diff] [blame] | 347 | config SOC_INTEL_CANNONLAKE_DEBUG_CONSENT |
| 348 | int "Debug Consent for CNL" |
| 349 | # USB DBC is more common for developers so make this default to 3 if |
| 350 | # SOC_INTEL_DEBUG_CONSENT=y |
| 351 | default 3 if SOC_INTEL_DEBUG_CONSENT |
| 352 | default 0 |
| 353 | help |
| 354 | This is to control debug interface on SOC. |
| 355 | Setting non-zero value will allow to use DBC or DCI to debug SOC. |
| 356 | PlatformDebugConsent in FspmUpd.h has the details. |
| 357 | |
Subrata Banik | 5ee4c12 | 2019-07-05 06:43:46 +0530 | [diff] [blame] | 358 | config PRERAM_CBMEM_CONSOLE_SIZE |
| 359 | hex |
| 360 | default 0xe00 |
| 361 | |
Patrick Rudolph | 5fffb5e | 2019-07-25 11:55:30 +0200 | [diff] [blame] | 362 | config INTEL_TXT_BIOSACM_ALIGNMENT |
| 363 | hex |
| 364 | default 0x40000 # 256KB |
| 365 | |
Lijian Zhao | 8109604 | 2017-05-02 18:54:44 -0700 | [diff] [blame] | 366 | endif |