| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_SAPPHIRERAPIDS_SP |
| 4 |
bool |
| 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 |
| 19 |
select HAVE_INTEL_FSP_REPO |
| 20 |
select DRAM_SUPPORT_DDR5 |
| 21 |
help |
| 22 |
Intel Sapphire Rapids-SP support |
| 23 |
|
| 24 |
if SOC_INTEL_SAPPHIRERAPIDS_SP |
| 25 |
|
| 26 |
config CHIPSET_DEVICETREE |
| 27 |
string |
| 28 |
default "soc/intel/xeon_sp/spr/chipset.cb" |
| 29 |
|
| 30 |
config FSP_HEADER_PATH |
| 31 |
default "3rdparty/fsp/EagleStreamFspBinPkg/Include" |
| 32 |
|
| 33 |
config FSP_FD_PATH |
| 34 |
default "3rdparty/fsp/EagleStreamFspBinPkg/Fsp.fd" |
| 35 |
|
| 36 |
config MAX_CPUS |
| 37 |
int |
| 38 |
default 255 |
| 39 |
|
| 40 |
config ACPI_CPU_STRING |
| 41 |
string |
| 42 |
default "C%03X" |
| 43 |
|
| 44 |
config PCR_BASE_ADDRESS |
| 45 |
hex |
| 46 |
default 0xfd000000 |
| 47 |
help |
| 48 |
This option allows you to select MMIO Base Address of sideband bus. |
| 49 |
|
| 50 |
config DCACHE_RAM_BASE |
| 51 |
hex |
| 52 |
default 0xfe800000 |
| 53 |
|
| 54 |
config DCACHE_RAM_SIZE |
| 55 |
hex |
| 56 |
default 0x1fff00 |
| 57 |
help |
| 58 |
The size of the cache-as-ram region required during bootblock |
| 59 |
and/or romstage. FSP-T reserves the upper 0x100 for |
| 60 |
FspReservedBuffer. |
| 61 |
|
| 62 |
config DCACHE_BSP_STACK_SIZE |
| 63 |
hex |
| 64 |
default 0x40000 |
| 65 |
help |
| 66 |
The amount of anticipated stack usage in CAR by bootblock and |
| 67 |
other stages. It needs to include FSP-M stack requirement and |
| 68 |
CB romstage stack requirement. The integration documentation |
| 69 |
says this needs to be 256KiB. |
| 70 |
|
| 71 |
config FSP_M_RC_HEAP_SIZE |
| 72 |
hex |
| 73 |
default 0x150000 |
| 74 |
help |
| 75 |
On xeon_sp/spr FSP-M has two separate heap managers, one regular |
| 76 |
whose size and base are controllable via the StackBase and |
| 77 |
StackSize UPDs and a 'rc' heap manager that is statically |
| 78 |
allocated at 0xfe800000 (the CAR base) and consumes about 0x150000 |
| 79 |
bytes of memory. |
| 80 |
|
| 81 |
|
| 82 |
config STACK_SIZE |
| 83 |
hex |
| 84 |
default 0x4000 |
| 85 |
|
| 86 |
config FSP_TEMP_RAM_SIZE |
| 87 |
hex |
| 88 |
depends on FSP_USES_CB_STACK |
| 89 |
default 0x60000 |
| 90 |
help |
| 91 |
The amount of anticipated heap usage in CAR by FSP. |
| 92 |
Refer to Platform FSP integration guide document to know |
| 93 |
the exact FSP requirement for Heap setup. The FSP integration |
| 94 |
documentation says this needs to be at least 128KiB, but practice |
| 95 |
show this needs to be 256KiB or more. |
| 96 |
|
| 97 |
config IED_REGION_SIZE |
| 98 |
hex |
| 99 |
default 0x400000 |
| 100 |
|
| 101 |
config IFD_CHIPSET |
| 102 |
string |
| 103 |
default "lbg" |
| 104 |
|
| 105 |
config SOC_INTEL_COMMON_BLOCK_P2SB |
| 106 |
def_bool y |
| 107 |
|
| 108 |
config SOC_INTEL_HAS_BIOS_DONE_MSR |
| 109 |
def_bool y |
| 110 |
|
| 111 |
config SOC_INTEL_HAS_NCMEM |
| 112 |
def_bool y |
| 113 |
|
| 114 |
config CPU_BCLK_MHZ |
| 115 |
int |
| 116 |
default 100 |
| 117 |
|
| 118 |
# SPR-SP has 4 IMCs, 2 channels per IMC, 2 DIMMs per channel |
| 119 |
# Default value is set to two sockets, full config. |
| 120 |
config MAX_IMC |
| 121 |
int |
| 122 |
default 4 |
| 123 |
|
| 124 |
config DIMM_MAX |
| 125 |
int |
| 126 |
default 32 |
| 127 |
|
| 128 |
# DDR4 |
| 129 |
config DIMM_SPD_SIZE |
| 130 |
int |
| 131 |
default 1024 |
| 132 |
|
| 133 |
config MAX_ACPI_TABLE_SIZE_KB |
| 134 |
int |
| 135 |
default 512 if MAX_SOCKET = 4 |
| 136 |
default 224 |
| 137 |
|
| 138 |
config FIXED_SMBUS_IO_BASE |
| 139 |
default 0x780 |
| 140 |
|
| 141 |
config DISPLAY_UPD_IIO_DATA |
| 142 |
def_bool n |
| 143 |
depends on DISPLAY_UPD_DATA |
| 144 |
|
| 145 |
if INTEL_TXT |
| 146 |
|
| 147 |
config INTEL_TXT_SINIT_SIZE |
| 148 |
hex |
| 149 |
default 0x50000 |
| 150 |
help |
| 151 |
According to document number 572782 this needs to be 256KiB |
| 152 |
for the SINIT module and 64KiB for SINIT data. |
| 153 |
|
| 154 |
config INTEL_TXT_HEAP_SIZE |
| 155 |
hex |
| 156 |
default 0xf0000 |
| 157 |
help |
| 158 |
This must be 960KiB according to 572782. |
| 159 |
|
| 160 |
endif # INTEL_TXT |
| 161 |
|
| 162 |
config ENABLE_IO_MARGINING |
| 163 |
bool "Enable IO Margining" |
| 164 |
default n |
| 165 |
depends on !PCIEXP_ASPM |
| 166 |
help |
| 167 |
Enable support for I/O margining. This is mutually exclusive with |
| 168 |
ASPM. This option is intended for debugging and validation and |
| 169 |
should normally be disabled. |
| 170 |
|
| 171 |
config ENABLE_RMT |
| 172 |
bool "Enable RMT" |
| 173 |
default n |
| 174 |
help |
| 175 |
Enable Rank Margining Tool. This option is intended for debugging and |
| 176 |
validation and should normally be disabled. |
| 177 |
|
| 178 |
config MEM_POR_FREQ |
| 179 |
bool "Enforce Plan Of Record restrictions for DDR5 frequency and voltage" |
| 180 |
default n |
| 181 |
help |
| 182 |
When RMT is enabled. Select this option to enforce Intel Plan Of Record(POR) |
| 183 |
restriction on DDR5 frequency & voltage settings. |
| 184 |
endif |