| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_COOPERLAKE_SP |
| 4 |
bool |
| 5 |
select XEON_SP_COMMON_BASE |
| 6 |
select PLATFORM_USES_FSP2_2 |
| 7 |
select CACHE_MRC_SETTINGS |
| 8 |
select NO_FSP_TEMP_RAM_EXIT |
| 9 |
select HAVE_INTEL_FSP_REPO |
| 10 |
select FSP_SPEC_VIOLATION_XEON_SP_HEAP_WORKAROUND |
| 11 |
select UDK_202005_BINDING |
| 12 |
select DRAM_SUPPORT_DDR4 |
| 13 |
help |
| 14 |
Intel Cooper Lake-SP support |
| 15 |
|
| 16 |
if SOC_INTEL_COOPERLAKE_SP |
| 17 |
|
| 18 |
config FSP_HEADER_PATH |
| 19 |
default "3rdparty/fsp/CedarIslandFspBinPkg/Include" |
| 20 |
|
| 21 |
config FSP_FD_PATH |
| 22 |
default "3rdparty/fsp/CedarIslandFspBinPkg/Fsp.fd" |
| 23 |
|
| 24 |
config MAX_SOCKET |
| 25 |
int |
| 26 |
default 2 |
| 27 |
|
| 28 |
config MAX_CPUS |
| 29 |
int |
| 30 |
default 255 |
| 31 |
|
| 32 |
config PCR_BASE_ADDRESS |
| 33 |
hex |
| 34 |
default 0xfd000000 |
| 35 |
help |
| 36 |
This option allows you to select MMIO Base Address of sideband bus. |
| 37 |
|
| 38 |
config DCACHE_RAM_BASE |
| 39 |
hex |
| 40 |
default 0xfe800000 |
| 41 |
|
| 42 |
config DCACHE_RAM_SIZE |
| 43 |
hex |
| 44 |
default 0x1fff00 |
| 45 |
help |
| 46 |
The size of the cache-as-ram region required during bootblock |
| 47 |
and/or romstage. FSP-T reserves the upper 0x100 for |
| 48 |
FspReservedBuffer. |
| 49 |
|
| 50 |
config DCACHE_BSP_STACK_SIZE |
| 51 |
hex |
| 52 |
default 0x40000 |
| 53 |
help |
| 54 |
The amount of anticipated stack usage in CAR by bootblock and |
| 55 |
other stages. It needs to include FSP-M stack requirement and |
| 56 |
CB romstage stack requirement. The integration documentation |
| 57 |
says this needs to be 256KiB. |
| 58 |
|
| 59 |
config FSP_M_RC_HEAP_SIZE |
| 60 |
hex |
| 61 |
default 0x130000 |
| 62 |
help |
| 63 |
On xeon_sp/cpx FSP-M has two separate heap managers, one regular |
| 64 |
whose size and base are controllable via the StackBase and |
| 65 |
StackSize UPDs and a 'rc' heap manager that is statically |
| 66 |
allocated at 0xfe800000 (the CAR base) and consumes about 0x130000 |
| 67 |
bytes of memory. |
| 68 |
|
| 69 |
config CPU_MICROCODE_CBFS_LOC |
| 70 |
hex |
| 71 |
default 0xfff0fdc0 |
| 72 |
|
| 73 |
config CPU_MICROCODE_CBFS_LEN |
| 74 |
hex |
| 75 |
default 0x7C00 |
| 76 |
|
| 77 |
config STACK_SIZE |
| 78 |
hex |
| 79 |
default 0x4000 |
| 80 |
|
| 81 |
config FSP_TEMP_RAM_SIZE |
| 82 |
hex |
| 83 |
depends on FSP_USES_CB_STACK |
| 84 |
default 0x40000 |
| 85 |
help |
| 86 |
The amount of anticipated heap usage in CAR by FSP. |
| 87 |
Refer to Platform FSP integration guide document to know |
| 88 |
the exact FSP requirement for Heap setup. The FSP integration |
| 89 |
documentation says this needs to be at least 128KiB, but practice |
| 90 |
show this needs to be 256KiB or more. |
| 91 |
|
| 92 |
config IED_REGION_SIZE |
| 93 |
hex |
| 94 |
default 0x400000 |
| 95 |
|
| 96 |
config IFD_CHIPSET |
| 97 |
string |
| 98 |
default "lbg" |
| 99 |
|
| 100 |
config SOC_INTEL_COMMON_BLOCK_P2SB |
| 101 |
def_bool y |
| 102 |
|
| 103 |
config CPU_BCLK_MHZ |
| 104 |
int |
| 105 |
default 100 |
| 106 |
|
| 107 |
# CPX-SP has 2 IMCs, 3 channels per IMC, 2 DIMMs per channel |
| 108 |
# Default value is set to one socket, full config. |
| 109 |
config DIMM_MAX |
| 110 |
default 12 |
| 111 |
|
| 112 |
# DDR4 |
| 113 |
config DIMM_SPD_SIZE |
| 114 |
default 512 |
| 115 |
|
| 116 |
config XEON_SP_HAVE_IIO_IOAPIC |
| 117 |
bool |
| 118 |
default y |
| 119 |
|
| 120 |
if INTEL_TXT |
| 121 |
|
| 122 |
config INTEL_TXT_SINIT_SIZE |
| 123 |
hex |
| 124 |
default 0x50000 |
| 125 |
help |
| 126 |
According to document number 572782 this needs to be 256KiB |
| 127 |
for the SINIT module and 64KiB for SINIT data. |
| 128 |
|
| 129 |
config INTEL_TXT_HEAP_SIZE |
| 130 |
hex |
| 131 |
default 0xf0000 |
| 132 |
help |
| 133 |
This must be 960KiB according to 572782. |
| 134 |
|
| 135 |
endif # INTEL_TXT |
| 136 |
|
| 137 |
endif |