1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_INTEL_SAPPHIRERAPIDS_SP
5 select FSP_NVS_DATA_POST_SILICON_INIT
6 select MICROCODE_BLOB_NOT_HOOKED_UP
7 select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION
8 select DISABLE_ACPI_HIBERNATE
9 select DEFAULT_X2APIC_RUNTIME
10 select CACHE_MRC_SETTINGS
11 select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED
12 select PLATFORM_USES_FSP2_3
13 select SOC_INTEL_CSE_SERVER_SKU
14 select XEON_SP_COMMON_BASE
15 select HAVE_IOAT_DOMAINS
16 select FSP_SPEC_VIOLATION_XEON_SP_HEAP_WORKAROUND
17 select UDK_202005_BINDING
18 select SOC_INTEL_HAS_CXL
19 select HAVE_X86_64_SUPPORT
21 Intel Sapphire Rapids-SP support
23 if SOC_INTEL_SAPPHIRERAPIDS_SP
25 config CHIPSET_DEVICETREE
27 default "soc/intel/xeon_sp/spr/chipset.cb"
29 config FSP_HEADER_PATH
30 string "Location of FSP headers"
31 default "src/vendorcode/intel/fsp/fsp2_0/sapphirerapids_sp"
37 config ACPI_CPU_STRING
41 config PCR_BASE_ADDRESS
45 This option allows you to select MMIO Base Address of sideband bus.
47 config DCACHE_RAM_BASE
51 config DCACHE_RAM_SIZE
55 The size of the cache-as-ram region required during bootblock
56 and/or romstage. FSP-T reserves the upper 0x100 for
59 config DCACHE_BSP_STACK_SIZE
63 The amount of anticipated stack usage in CAR by bootblock and
64 other stages. It needs to include FSP-M stack requirement and
65 CB romstage stack requirement. The integration documentation
66 says this needs to be 256KiB.
68 config FSP_M_RC_HEAP_SIZE
72 On xeon_sp/spr FSP-M has two separate heap managers, one regular
73 whose size and base are controllable via the StackBase and
74 StackSize UPDs and a 'rc' heap manager that is statically
75 allocated at 0xfe800000 (the CAR base) and consumes about 0x150000
83 config FSP_TEMP_RAM_SIZE
85 depends on FSP_USES_CB_STACK
88 The amount of anticipated heap usage in CAR by FSP.
89 Refer to Platform FSP integration guide document to know
90 the exact FSP requirement for Heap setup. The FSP integration
91 documentation says this needs to be at least 128KiB, but practice
92 show this needs to be 256KiB or more.
94 config IED_REGION_SIZE
102 config SOC_INTEL_COMMON_BLOCK_P2SB
105 config SOC_INTEL_HAS_BIOS_DONE_MSR
108 config SOC_INTEL_HAS_NCMEM
111 config SOC_INTEL_PCIE_64BIT_ALLOC
114 config SOC_INTEL_MMAPVTD_ONLY_FOR_DPR
121 # SPR-SP has 4 IMCs, 2 channels per IMC, 2 DIMMs per channel
122 # Default value is set to two sockets, full config.
136 config MAX_ACPI_TABLE_SIZE_KB
138 default 512 if MAX_SOCKET = 4
141 config FIXED_SMBUS_IO_BASE
144 config DISPLAY_UPD_IIO_DATA
146 depends on DISPLAY_UPD_DATA
150 config INTEL_TXT_SINIT_SIZE
154 According to document number 572782 this needs to be 256KiB
155 for the SINIT module and 64KiB for SINIT data.
157 config INTEL_TXT_HEAP_SIZE
161 This must be 960KiB according to 572782.
165 config ENABLE_IO_MARGINING
166 bool "Enable IO Margining"
168 depends on !PCIEXP_ASPM
170 Enable support for I/O margining. This is mutually exclusive with
171 ASPM. This option is intended for debugging and validation and
172 should normally be disabled.
178 Enable Rank Margining Tool. This option is intended for debugging and
179 validation and should normally be disabled.
181 config RMT_MEM_POR_FREQ
182 bool "Enforce Plan Of Record restrictions for DDR5 frequency and voltage"
184 depends on ENABLE_RMT
186 When RMT is enabled. Select this option to enforce Intel Plan Of Record(POR)
187 restriction on DDR5 frequency & voltage settings.