| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_INTEL_GRANITERAPIDS |
| 4 |
bool |
| 5 |
select FSP_NVS_DATA_POST_SILICON_INIT |
| 6 |
select SOC_INTEL_MEM_MAPPED_PM_CONFIGURATION |
| 7 |
select XEON_SP_COMMON_BASE |
| 8 |
select PLATFORM_USES_FSP2_4 |
| 9 |
select CACHE_MRC_SETTINGS |
| 10 |
select CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED |
| 11 |
select XEON_SP_IBL |
| 12 |
select DEFAULT_X2APIC_RUNTIME |
| 13 |
select UDK_202302_BINDING |
| 14 |
select PLATFORM_USES_FSP2_X86_32 |
| 15 |
select HAVE_IOAT_DOMAINS |
| 16 |
select FSP_SPEC_VIOLATION_XEON_SP_HEAP_WORKAROUND |
| 17 |
select DRAM_SUPPORT_DDR5 |
| 18 |
select HAVE_INTEL_FSP_REPO |
| 19 |
help |
| 20 |
Intel Granite Rapids support |
| 21 |
|
| 22 |
config SOC_INTEL_GRANITERAPIDS_AP |
| 23 |
bool |
| 24 |
select SOC_INTEL_GRANITERAPIDS |
| 25 |
help |
| 26 |
Intel Granite Rapids AP support |
| 27 |
|
| 28 |
config SOC_INTEL_GRANITERAPIDS_SP |
| 29 |
bool |
| 30 |
select SOC_INTEL_GRANITERAPIDS |
| 31 |
help |
| 32 |
Intel Granite Rapids SP support |
| 33 |
|
| 34 |
if SOC_INTEL_GRANITERAPIDS |
| 35 |
|
| 36 |
config CHIPSET_DEVICETREE |
| 37 |
string |
| 38 |
default "soc/intel/xeon_sp/gnr/chipset.cb" |
| 39 |
|
| 40 |
if FSP_USE_REPO |
| 41 |
|
| 42 |
config FSP_HEADER_PATH |
| 43 |
default "3rdparty/fsp/BirchStreamFspBinPkg/ap/Include" if SOC_INTEL_GRANITERAPIDS_AP |
| 44 |
default "3rdparty/fsp/BirchStreamFspBinPkg/sp/Include" if SOC_INTEL_GRANITERAPIDS_SP |
| 45 |
|
| 46 |
config FSP_FD_PATH |
| 47 |
default "3rdparty/fsp/BirchStreamFspBinPkg/ap/Fsp.fd" if SOC_INTEL_GRANITERAPIDS_AP |
| 48 |
default "3rdparty/fsp/BirchStreamFspBinPkg/sp/Fsp.fd" if SOC_INTEL_GRANITERAPIDS_SP |
| 49 |
|
| 50 |
endif |
| 51 |
|
| 52 |
config MAX_CPUS |
| 53 |
int |
| 54 |
default 512 |
| 55 |
|
| 56 |
config PCR_BASE_ADDRESS |
| 57 |
hex |
| 58 |
default 0xf7000000 |
| 59 |
help |
| 60 |
This option allows you to select MMIO Base Address of sideband bus. |
| 61 |
|
| 62 |
config INTEL_PCH_PWRM_BASE_ADDRESS |
| 63 |
hex |
| 64 |
default 0xf6800000 |
| 65 |
help |
| 66 |
PCH PWRM Base address. |
| 67 |
|
| 68 |
config DCACHE_RAM_BASE |
| 69 |
hex |
| 70 |
default 0xfe800000 |
| 71 |
|
| 72 |
config DCACHE_RAM_SIZE |
| 73 |
hex |
| 74 |
default 0x1fff00 |
| 75 |
help |
| 76 |
The size of the cache-as-ram region required during bootblock |
| 77 |
and/or romstage. FSP-T reserves the upper 0x100 for |
| 78 |
FspReservedBuffer. |
| 79 |
|
| 80 |
config FSP_M_RC_HEAP_SIZE |
| 81 |
hex |
| 82 |
default 0x142000 |
| 83 |
help |
| 84 |
On xeon_sp/gnr FSP-M has two separate heap managers, one regular |
| 85 |
whose size and base are controllable via the StackBase and |
| 86 |
StackSize UPDs and a 'rc' heap manager that is statically |
| 87 |
allocated at 0xfe800000 (the CAR base) and consumes about 0x142000 |
| 88 |
bytes of memory. |
| 89 |
|
| 90 |
config HEAP_SIZE |
| 91 |
hex |
| 92 |
default 0x80000 |
| 93 |
|
| 94 |
config STACK_SIZE |
| 95 |
hex |
| 96 |
default 0x4000 |
| 97 |
|
| 98 |
config FSP_TEMP_RAM_SIZE |
| 99 |
hex |
| 100 |
depends on FSP_USES_CB_STACK |
| 101 |
default 0x58000 |
| 102 |
help |
| 103 |
The amount of anticipated heap usage in CAR by FSP. |
| 104 |
Refer to Platform FSP integration guide document to know |
| 105 |
the exact FSP requirement for Heap setup. The FSP integration |
| 106 |
documentation says this needs to be at least 128KiB, but practice |
| 107 |
show this needs to be 256KiB or more. |
| 108 |
|
| 109 |
config IED_REGION_SIZE |
| 110 |
hex |
| 111 |
default 0x400000 |
| 112 |
|
| 113 |
config CPU_BCLK_MHZ |
| 114 |
int |
| 115 |
default 100 |
| 116 |
|
| 117 |
# DDR4 |
| 118 |
config DIMM_SPD_SIZE |
| 119 |
int |
| 120 |
default 1024 |
| 121 |
|
| 122 |
config MAX_ACPI_TABLE_SIZE_KB |
| 123 |
int |
| 124 |
default 224 |
| 125 |
|
| 126 |
config SOC_INTEL_HAS_NCMEM |
| 127 |
def_bool y |
| 128 |
|
| 129 |
config SOC_INTEL_HAS_CXL |
| 130 |
def_bool n |
| 131 |
|
| 132 |
config INTEL_SPI_BASE_ADDRESS |
| 133 |
hex |
| 134 |
default 0xf6830000 |
| 135 |
help |
| 136 |
SPI BAR0 Base address. |
| 137 |
|
| 138 |
endif |