blob: b10c7bee1070245c838aed55a1468bdf4c210e21 [file] [log] [blame]
Jonathan Zhang8f895492020-01-16 11:16:45 -08001##
2## This file is part of the coreboot project.
3##
Jonathan Zhang8f895492020-01-16 11:16:45 -08004##
5## This program is free software; you can redistribute it and/or modify
6## it under the terms of the GNU General Public License as published by
7## the Free Software Foundation; either version 2 of the License, or
8## (at your option) any later version.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15
Andrey Petrov662da6c2020-03-16 22:46:57 -070016source "src/soc/intel/xeon_sp/skx/Kconfig"
Andrey Petrov2e410752020-03-20 12:08:32 -070017source "src/soc/intel/xeon_sp/cpx/Kconfig"
Andrey Petrov662da6c2020-03-16 22:46:57 -070018
19config XEON_SP_COMMON_BASE
Jonathan Zhang8f895492020-01-16 11:16:45 -080020 bool
Andrey Petrov662da6c2020-03-16 22:46:57 -070021
22config SOC_INTEL_SKYLAKE_SP
23 bool
24 select XEON_SP_COMMON_BASE
Jonathan Zhang8f895492020-01-16 11:16:45 -080025 help
Andrey Petrov662da6c2020-03-16 22:46:57 -070026 Intel Skylake-SP support
Jonathan Zhang8f895492020-01-16 11:16:45 -080027
Andrey Petrov2e410752020-03-20 12:08:32 -070028config SOC_INTEL_COOPERLAKE_SP
29 bool
30 select XEON_SP_COMMON_BASE
31 help
32 Intel Cooperlake-SP support
33
Andrey Petrov662da6c2020-03-16 22:46:57 -070034if XEON_SP_COMMON_BASE
Jonathan Zhang8f895492020-01-16 11:16:45 -080035
Andrey Petrov662da6c2020-03-16 22:46:57 -070036config CPU_SPECIFIC_OPTIONS
Jonathan Zhang8f895492020-01-16 11:16:45 -080037 def_bool y
38 select ARCH_BOOTBLOCK_X86_32
39 select ARCH_RAMSTAGE_X86_32
40 select ARCH_ROMSTAGE_X86_32
41 select ARCH_VERSTAGE_X86_32
42 select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH
43 select BOOT_DEVICE_SUPPORTS_WRITES
44 select POSTCAR_CONSOLE
45 select SOC_INTEL_COMMON
46 select SOC_INTEL_COMMON_RESET
47 select PLATFORM_USES_FSP2_0
48 select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS
49 select FSP_T_XIP
50 select FSP_M_XIP
Jonathan Zhang8f895492020-01-16 11:16:45 -080051 select POSTCAR_STAGE
52 select IOAPIC
53 select PARALLEL_MP
54 select SMP
55 select INTEL_DESCRIPTOR_MODE_CAPABLE
56 select COMMON_FADT
57 select SOC_INTEL_COMMON_BLOCK
58 select SOC_INTEL_COMMON_BLOCK_CPU
59 select SOC_INTEL_COMMON_BLOCK_TIMER
60 select SOC_INTEL_COMMON_BLOCK_LPC
61 select SOC_INTEL_COMMON_BLOCK_RTC
62 select SOC_INTEL_COMMON_BLOCK_SPI
63 select SOC_INTEL_COMMON_BLOCK_FAST_SPI
Maxim Polyakov5b06ffe2020-03-22 14:57:36 +030064 select SOC_INTEL_COMMON_BLOCK_GPIO
65 select SOC_INTEL_COMMON_BLOCK_GPIO_DUAL_ROUTE_SUPPORT
66 select SOC_INTEL_COMMON_BLOCK_GPIO_LEGACY_MACROS
67 select SOC_INTEL_COMMON_BLOCK_GPIO_PADCFG_PADTOL
Jonathan Zhang8f895492020-01-16 11:16:45 -080068 select SOC_INTEL_COMMON_BLOCK_PCR
69 select TSC_MONOTONIC_TIMER
70 select UDELAY_TSC
71 select SUPPORT_CPU_UCODE_IN_CBFS
Nico Huber0266be02020-03-08 18:36:00 +010072 select MICROCODE_BLOB_NOT_HOOKED_UP
Jonathan Zhang8f895492020-01-16 11:16:45 -080073 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Andrey Petrov662da6c2020-03-16 22:46:57 -070074 select FSP_CAR
Jonathan Zhang8f895492020-01-16 11:16:45 -080075
76config MAINBOARD_USES_FSP2_0
77 bool
78 default y
79
80config USE_FSP2_0_DRIVER
81 def_bool y
82 depends on MAINBOARD_USES_FSP2_0
83 select PLATFORM_USES_FSP2_0
84 select UDK_2015_BINDING
85 select POSTCAR_CONSOLE
86 select POSTCAR_STAGE
87
Jonathan Zhang8f895492020-01-16 11:16:45 -080088config MAX_SOCKET
89 int
90 default 2
91
92# For 2S config, the number of cpus could be as high as
93# 2 threads * 20 cores * 2 sockets
94config MAX_CPUS
95 int
96 default 80
97
98config PCR_BASE_ADDRESS
99 hex
100 default 0xfd000000
101 help
102 This option allows you to select MMIO Base Address of sideband bus.
103
Jonathan Zhang8f895492020-01-16 11:16:45 -0800104config DCACHE_BSP_STACK_SIZE
105 hex
106 default 0x10000
107
108config MMCONF_BASE_ADDRESS
109 hex
110 default 0x80000000
111
Jonathan Zhang8f895492020-01-16 11:16:45 -0800112config C_ENV_BOOTBLOCK_SIZE
113 hex
114 default 0xC000
115
116config HEAP_SIZE
117 hex
118 default 0x80000
119
Jonathan Zhang8f895492020-01-16 11:16:45 -0800120endif ## SOC_INTEL_XEON_SP