1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_INTEL_SAPPHIRERAPIDS_SP
5 select FSP_NVS_DATA_POST_SILICON_INIT
6 select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
7 select DISABLE_ACPI_HIBERNATE
8 select DEFAULT_X2APIC_RUNTIME
9 select CACHE_MRC_SETTINGS
10 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
11 select PLATFORM_USES_FSP2_3
12 select SOC_INTEL_CSE_SERVER_SKU
13 select XEON_SP_COMMON_BASE
14 select HAVE_IOAT_DOMAINS
15 select FSP_SPEC_VIOLATION_XEON_SP_HEAP_WORKAROUND
16 select UDK_202005_BINDING
17 select SOC_INTEL_HAS_CXL
18 select HAVE_X86_64_SUPPORT
20 Intel Sapphire Rapids-SP support
22 if SOC_INTEL_SAPPHIRERAPIDS_SP
24 config CHIPSET_DEVICETREE
26 default "soc/intel/xeon_sp/spr/chipset.cb"
28 config FSP_HEADER_PATH
29 string "Location of FSP headers"
30 default "src/vendorcode/intel/fsp/fsp2_0/sapphirerapids_sp"
36 config ACPI_CPU_STRING
40 config PCR_BASE_ADDRESS
44 This option allows you to select MMIO Base Address of sideband bus.
46 config DCACHE_RAM_BASE
50 config DCACHE_RAM_SIZE
54 The size of the cache-as-ram region required during bootblock
55 and/or romstage. FSP-T reserves the upper 0x100 for
58 config DCACHE_BSP_STACK_SIZE
62 The amount of anticipated stack usage in CAR by bootblock and
63 other stages. It needs to include FSP-M stack requirement and
64 CB romstage stack requirement. The integration documentation
65 says this needs to be 256KiB.
67 config FSP_M_RC_HEAP_SIZE
71 On xeon_sp/spr FSP-M has two separate heap managers, one regular
72 whose size and base are controllable via the StackBase and
73 StackSize UPDs and a 'rc' heap manager that is statically
74 allocated at 0xfe800000 (the CAR base) and consumes about 0x150000
82 config FSP_TEMP_RAM_SIZE
84 depends on FSP_USES_CB_STACK
87 The amount of anticipated heap usage in CAR by FSP.
88 Refer to Platform FSP integration guide document to know
89 the exact FSP requirement for Heap setup. The FSP integration
90 documentation says this needs to be at least 128KiB, but practice
91 show this needs to be 256KiB or more.
93 config IED_REGION_SIZE
101 config SOC_INTEL_COMMON_BLOCK_P2SB
104 config SOC_INTEL_HAS_BIOS_DONE_MSR
107 config SOC_INTEL_HAS_NCMEM
110 config SOC_INTEL_MMAPVTD_ONLY_FOR_DPR
117 # SPR-SP has 4 IMCs, 2 channels per IMC, 2 DIMMs per channel
118 # Default value is set to two sockets, full config.
132 config MAX_ACPI_TABLE_SIZE_KB
134 default 512 if MAX_SOCKET = 4
137 config FIXED_SMBUS_IO_BASE
140 config DISPLAY_UPD_IIO_DATA
142 depends on DISPLAY_UPD_DATA
146 config INTEL_TXT_SINIT_SIZE
150 According to document number 572782 this needs to be 256KiB
151 for the SINIT module and 64KiB for SINIT data.
153 config INTEL_TXT_HEAP_SIZE
157 This must be 960KiB according to 572782.
161 config ENABLE_IO_MARGINING
162 bool "Enable IO Margining"
164 depends on !PCIEXP_ASPM
166 Enable support for I/O margining. This is mutually exclusive with
167 ASPM. This option is intended for debugging and validation and
168 should normally be disabled.
174 Enable Rank Margining Tool. This option is intended for debugging and
175 validation and should normally be disabled.
178 bool "Enforce Plan Of Record restrictions for DDR5 frequency and voltage"
181 When RMT is enabled. Select this option to enforce Intel Plan Of Record(POR)
182 restriction on DDR5 frequency & voltage settings.