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 | |
Jonathan Zhang | 9722f5f | 2023-01-25 09:04:59 -0800 | [diff] [blame] | 3 | source "src/soc/intel/xeon_sp/*/Kconfig" |
Andrey Petrov | 662da6c | 2020-03-16 22:46:57 -0700 | [diff] [blame] | 4 | |
| 5 | config XEON_SP_COMMON_BASE |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 6 | bool |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 7 | select ACPI_INTEL_HARDWARE_SLEEP_VALUES |
Angel Pons | 8e035e3 | 2021-06-22 12:58:20 +0200 | [diff] [blame] | 8 | select ARCH_X86 |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 9 | select BOOT_DEVICE_SUPPORTS_WRITES |
Angel Pons | eeb4705 | 2020-09-02 15:29:49 +0200 | [diff] [blame] | 10 | select CPU_INTEL_COMMON |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 11 | select CPU_INTEL_FIRMWARE_INTERFACE_TABLE |
| 12 | select FSP_CAR |
| 13 | select FSP_M_XIP |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 14 | select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS |
| 15 | select FSP_T_XIP |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 16 | select HAVE_SMI_HANDLER |
| 17 | select INTEL_CAR_NEM # For postcar only now |
| 18 | select INTEL_DESCRIPTOR_MODE_CAPABLE |
Marc Jones | 64c6223 | 2021-04-06 14:09:30 -0600 | [diff] [blame] | 19 | select PARALLEL_MP_AP_WORK |
Marc Jones | 81ef9c2 | 2021-01-21 10:53:47 -0700 | [diff] [blame] | 20 | select PMC_GLOBAL_RESET_ENABLE_LOCK |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 21 | select POSTCAR_STAGE |
| 22 | select REG_SCRIPT |
| 23 | select SMM_TSEG |
| 24 | select SOC_INTEL_COMMON |
| 25 | select SOC_INTEL_COMMON_RESET |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 26 | select SOC_INTEL_COMMON_BLOCK |
Johnny Lin | 6b1e7dd | 2022-01-24 15:18:57 +0800 | [diff] [blame] | 27 | select SOC_INTEL_COMMON_BLOCK_ACPI |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 28 | select SOC_INTEL_COMMON_BLOCK_CPU |
Maxim Polyakov | 5b06ffe | 2020-03-22 14:57:36 +0300 | [diff] [blame] | 29 | select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT |
Maxim Polyakov | 5b06ffe | 2020-03-22 14:57:36 +0300 | [diff] [blame] | 30 | select SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL |
Arthur Heymans | f4f332d | 2020-11-19 14:23:46 +0100 | [diff] [blame] | 31 | select SOC_INTEL_COMMON_BLOCK_PMC_DISCOVERABLE |
Rocky Phagura | 17a798b | 2020-10-08 13:32:41 -0700 | [diff] [blame] | 32 | select SOC_INTEL_COMMON_BLOCK_SMM |
Johnny Lin | 6b1e7dd | 2022-01-24 15:18:57 +0800 | [diff] [blame] | 33 | select SOC_INTEL_COMMON_BLOCK_TCO |
Marc Jones | 81ef9c2 | 2021-01-21 10:53:47 -0700 | [diff] [blame] | 34 | select SOC_INTEL_COMMON_PCH_SERVER |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 35 | select SUPPORT_CPU_UCODE_IN_CBFS |
Patrick Rudolph | 7a593ab | 2024-01-25 15:15:00 +0100 | [diff] [blame] | 36 | select SMM_PCI_RESOURCE_STORE |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 37 | select TSC_MONOTONIC_TIMER |
Johnny Lin | a70ebdf | 2021-01-29 13:20:14 +0800 | [diff] [blame] | 38 | select TPM_STARTUP_IGNORE_POSTINIT if INTEL_TXT |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 39 | select UDELAY_TSC |
Subrata Banik | 34f26b2 | 2022-02-10 12:38:02 +0530 | [diff] [blame] | 40 | select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM |
| 41 | select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT |
| 42 | select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 43 | |
Elyes Haouas | 171ad51 | 2023-08-04 07:42:33 +0200 | [diff] [blame] | 44 | if XEON_SP_COMMON_BASE |
| 45 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 46 | config MAINBOARD_USES_FSP2_0 |
| 47 | bool |
| 48 | default y |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 49 | select PLATFORM_USES_FSP2_0 |
Jonathan Zhang | 951a409 | 2020-06-09 18:01:32 -0700 | [diff] [blame] | 50 | select UDK_202005_BINDING |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 51 | select POSTCAR_STAGE |
| 52 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 53 | config MAX_SOCKET |
| 54 | int |
| 55 | default 2 |
| 56 | |
Subrata Banik | 526cc3e | 2022-01-31 21:55:51 +0530 | [diff] [blame] | 57 | config MAX_HECI_DEVICES |
| 58 | int |
| 59 | default 5 |
| 60 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 61 | # For 2S config, the number of cpus could be as high as |
| 62 | # 2 threads * 20 cores * 2 sockets |
| 63 | config MAX_CPUS |
| 64 | int |
| 65 | default 80 |
| 66 | |
Arthur Heymans | 83a5593 | 2021-03-25 15:59:49 +0100 | [diff] [blame] | 67 | config INTEL_ACPI_BASE_ADDRESS |
| 68 | hex |
| 69 | default 0x500 |
| 70 | help |
| 71 | IO Address of ACPI. |
| 72 | |
| 73 | config INTEL_PCH_PWRM_BASE_ADDRESS |
| 74 | hex |
| 75 | default 0xfe000000 |
| 76 | help |
| 77 | PCH PWRM Base address. |
| 78 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 79 | config PCR_BASE_ADDRESS |
| 80 | hex |
| 81 | default 0xfd000000 |
| 82 | help |
| 83 | This option allows you to select MMIO Base Address of sideband bus. |
| 84 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 85 | config DCACHE_BSP_STACK_SIZE |
| 86 | hex |
| 87 | default 0x10000 |
| 88 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 89 | config ECAM_MMCONF_BASE_ADDRESS |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 90 | default 0x80000000 |
| 91 | |
Shelley Chen | 4e9bb33 | 2021-10-20 15:43:45 -0700 | [diff] [blame] | 92 | config ECAM_MMCONF_BUS_NUMBER |
Kyösti Mälkki | 06c761c | 2021-02-14 14:06:38 +0200 | [diff] [blame] | 93 | default 256 |
| 94 | |
Arthur Heymans | 5883161 | 2023-11-14 13:30:10 +0100 | [diff] [blame] | 95 | config ALWAYS_ALLOW_ABOVE_4G_ALLOCATION |
| 96 | default y |
| 97 | |
Tim Chu | a231d2c | 2022-12-13 10:50:10 +0000 | [diff] [blame] | 98 | config HPET_MIN_TICKS |
| 99 | hex |
| 100 | default 0x80 |
| 101 | |
Rocky Phagura | d4db36e | 2021-04-03 08:49:32 -0700 | [diff] [blame] | 102 | config SOC_INTEL_XEON_RAS |
| 103 | bool |
| 104 | select SOC_ACPI_HEST |
| 105 | select SOC_RAS_ELOG |
| 106 | |
Arthur Heymans | 550f55e | 2022-08-24 14:44:26 +0200 | [diff] [blame] | 107 | config HAVE_IOAT_DOMAINS |
| 108 | bool |
| 109 | |
Jonathan Zhang | 8f89549 | 2020-01-16 11:16:45 -0800 | [diff] [blame] | 110 | endif ## SOC_INTEL_XEON_SP |