Elyes HAOUAS | f7b2fe6 | 2020-05-07 12:38:15 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 2 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 3 | source "src/soc/intel/xeon_sp/skx/Kconfig" |
Andrey Petrov | 2e41075 | 2020-03-20 12:08:32 -0700 | [diff] [blame] | 4 | source "src/soc/intel/xeon_sp/cpx/Kconfig" |
Rocky Phagura | d4db36e | 2021-04-03 08:49:32 -0700 | [diff] [blame] | 5 | source "src/soc/intel/xeon_sp/ras/Kconfig" |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 6 | |
| 7 | config XEON_SP_COMMON_BASE |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 8 | bool |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 9 | |
| 10 | config SOC_INTEL_SKYLAKE_SP |
| 11 | bool |
| 12 | select XEON_SP_COMMON_BASE |
Jonathan Zhang | d4efb33 | 2020-07-22 12:39:40 -0700 | [diff] [blame] | 13 | select PLATFORM_USES_FSP2_0 |
Johnny Lin | 337f8a1 | 2023-01-16 11:42:35 +0800 | [diff] [blame] | 14 | select NO_FSP_TEMP_RAM_EXIT |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 15 | help |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 16 | Intel Skylake-SP support |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 17 | |
Andrey Petrov | 2e41075 | 2020-03-20 12:08:32 -0700 | [diff] [blame] | 18 | config SOC_INTEL_COOPERLAKE_SP |
| 19 | bool |
| 20 | select XEON_SP_COMMON_BASE |
Jonathan Zhang | d4efb33 | 2020-07-22 12:39:40 -0700 | [diff] [blame] | 21 | select PLATFORM_USES_FSP2_2 |
Elyes HAOUAS | 86ea251 | 2020-08-18 21:12:37 +0200 | [diff] [blame] | 22 | select CACHE_MRC_SETTINGS |
Johnny Lin | 337f8a1 | 2023-01-16 11:42:35 +0800 | [diff] [blame] | 23 | select NO_FSP_TEMP_RAM_EXIT |
Andrey Petrov | 2e41075 | 2020-03-20 12:08:32 -0700 | [diff] [blame] | 24 | help |
Paul Menzel | 5554226 | 2021-11-09 08:09:40 +0100 | [diff] [blame] | 25 | Intel Cooper Lake-SP support |
Andrey Petrov | 2e41075 | 2020-03-20 12:08:32 -0700 | [diff] [blame] | 26 | |
Tim Chu | 4503238 | 2022-12-13 11:10:26 +0000 | [diff] [blame^] | 27 | config SOC_INTEL_SAPPHIRERAPIDS_SP |
| 28 | bool |
| 29 | select CACHE_MRC_SETTINGS |
| 30 | select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED |
| 31 | select PLATFORM_USES_FSP2_3 |
| 32 | select SOC_INTEL_CSE_SERVER_SKU |
| 33 | select XEON_SP_COMMON_BASE |
| 34 | help |
| 35 | Intel Sapphire Rapids-SP support |
| 36 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 37 | if XEON_SP_COMMON_BASE |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 38 | |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 39 | config CPU_SPECIFIC_OPTIONS |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 40 | def_bool y |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 41 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Angel Pons | 8e035e3 | 2021-06-22 12:58:20 +0200 | [diff] [blame] | 42 | select ARCH_X86 |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 43 | select BOOT_DEVICE_SUPPORTS_WRITES |
Angel Pons | eeb4705 | 2020-09-02 15:29:49 +0200 | [diff] [blame] | 44 | select CPU_INTEL_COMMON |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 45 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 46 | select FSP_CAR |
| 47 | select FSP_M_XIP |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 48 | select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS |
| 49 | select FSP_T_XIP |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 50 | select HAVE_SMI_HANDLER |
| 51 | select INTEL_CAR_NEM # For postcar only now |
| 52 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Marc Jones | 64c6223 | 2021-04-06 14:09:30 -0600 | [diff] [blame] | 53 | select PARALLEL_MP_AP_WORK |
Marc Jones | 81ef9c2 | 2021-01-21 10:53:47 -0700 | [diff] [blame] | 54 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 55 | select POSTCAR_STAGE |
| 56 | select REG_SCRIPT |
| 57 | select SMM_TSEG |
| 58 | select SOC_INTEL_COMMON |
| 59 | select SOC_INTEL_COMMON_RESET |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 60 | select SOC_INTEL_COMMON_BLOCK |
Johnny Lin | 6b1e7dd | 2022-01-24 15:18:57 +0800 | [diff] [blame] | 61 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 62 | select SOC_INTEL_COMMON_BLOCK_CPU |
Maxim Polyakov | 5b06ffe | 2020-03-22 14:57:36 +0300 | [diff] [blame] | 63 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Maxim Polyakov | 5b06ffe | 2020-03-22 14:57:36 +0300 | [diff] [blame] | 64 | select SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL |
Arthur Heymans | f4f332d | 2020-11-19 14:23:46 +0100 | [diff] [blame] | 65 | select SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE |
Rocky Phagura | 17a798b | 2020-10-08 13:32:41 -0700 | [diff] [blame] | 66 | select SOC_INTEL_COMMON_BLOCK_SMM |
Johnny Lin | 6b1e7dd | 2022-01-24 15:18:57 +0800 | [diff] [blame] | 67 | select SOC_INTEL_COMMON_BLOCK_TCO |
Marc Jones | 81ef9c2 | 2021-01-21 10:53:47 -0700 | [diff] [blame] | 68 | select SOC_INTEL_COMMON_PCH_SERVER |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 69 | select SUPPORT_CPU_UCODE_IN_CBFS |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 70 | select TSC_MONOTONIC_TIMER |
Johnny Lin | a70ebdf | 2021-01-29 13:20:14 +0800 | [diff] [blame] | 71 | select TPM_STARTUP_IGNORE_POSTINIT if INTEL_TXT |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 72 | select UDELAY_TSC |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 73 | select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM |
| 74 | select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT |
| 75 | select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 76 | |
| 77 | config MAINBOARD_USES_FSP2_0 |
| 78 | bool |
| 79 | default y |
| 80 | |
| 81 | config USE_FSP2_0_DRIVER |
| 82 | def_bool y |
| 83 | depends on MAINBOARD_USES_FSP2_0 |
| 84 | select PLATFORM_USES_FSP2_0 |
Jonathan Zhang | 951a409 | 2020-06-09 18:01:32 -0700 | [diff] [blame] | 85 | select UDK_202005_BINDING |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 86 | select POSTCAR_STAGE |
| 87 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 88 | config MAX_SOCKET |
| 89 | int |
| 90 | default 2 |
| 91 | |
Subrata Banik | 526cc3e | 2022-01-31 21:55:51 +0530 | [diff] [blame] | 92 | config MAX_HECI_DEVICES |
| 93 | int |
| 94 | default 5 |
| 95 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 96 | # For 2S config, the number of cpus could be as high as |
| 97 | # 2 threads * 20 cores * 2 sockets |
| 98 | config MAX_CPUS |
| 99 | int |
| 100 | default 80 |
| 101 | |
Arthur Heymans | 83a5593 | 2021-03-25 15:59:49 +0100 | [diff] [blame] | 102 | config INTEL_ACPI_BASE_ADDRESS |
| 103 | hex |
| 104 | default 0x500 |
| 105 | help |
| 106 | IO Address of ACPI. |
| 107 | |
| 108 | config INTEL_PCH_PWRM_BASE_ADDRESS |
| 109 | hex |
| 110 | default 0xfe000000 |
| 111 | help |
| 112 | PCH PWRM Base address. |
| 113 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 114 | config PCR_BASE_ADDRESS |
| 115 | hex |
| 116 | default 0xfd000000 |
| 117 | help |
| 118 | This option allows you to select MMIO Base Address of sideband bus. |
| 119 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 120 | config DCACHE_BSP_STACK_SIZE |
| 121 | hex |
| 122 | default 0x10000 |
| 123 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 124 | config ECAM_MMCONF_BASE_ADDRESS |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 125 | default 0x80000000 |
| 126 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 127 | config ECAM_MMCONF_BUS_NUMBER |
Kyösti Mälkki | 06c761c | 2021-02-14 14:06:38 +0200 | [diff] [blame] | 128 | default 256 |
| 129 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 130 | config HEAP_SIZE |
| 131 | hex |
| 132 | default 0x80000 |
| 133 | |
Tim Chu | a231d2c | 2022-12-13 10:50:10 +0000 | [diff] [blame] | 134 | config HPET_MIN_TICKS |
| 135 | hex |
| 136 | default 0x80 |
| 137 | |
Rocky Phagura | d4db36e | 2021-04-03 08:49:32 -0700 | [diff] [blame] | 138 | config SOC_INTEL_XEON_RAS |
| 139 | bool |
| 140 | select SOC_ACPI_HEST |
| 141 | select SOC_RAS_ELOG |
| 142 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 143 | endif ## SOC_INTEL_XEON_SP |