blob: 223329d79d38e3971ef828945282a383656ea977 [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"
17
18config XEON_SP_COMMON_BASE
Jonathan Zhang8f895492020-01-16 11:16:45 -080019 bool
Andrey Petrov662da6c2020-03-16 22:46:57 -070020
21config SOC_INTEL_SKYLAKE_SP
22 bool
23 select XEON_SP_COMMON_BASE
Jonathan Zhang8f895492020-01-16 11:16:45 -080024 help
Andrey Petrov662da6c2020-03-16 22:46:57 -070025 Intel Skylake-SP support
Jonathan Zhang8f895492020-01-16 11:16:45 -080026
Andrey Petrov662da6c2020-03-16 22:46:57 -070027if XEON_SP_COMMON_BASE
Jonathan Zhang8f895492020-01-16 11:16:45 -080028
Andrey Petrov662da6c2020-03-16 22:46:57 -070029config CPU_SPECIFIC_OPTIONS
Jonathan Zhang8f895492020-01-16 11:16:45 -080030 def_bool y
31 select ARCH_BOOTBLOCK_X86_32
32 select ARCH_RAMSTAGE_X86_32
33 select ARCH_ROMSTAGE_X86_32
34 select ARCH_VERSTAGE_X86_32
35 select BOOT_DEVICE_SPI_FLASH_RW_NOMMAP_EARLY if BOOT_DEVICE_SPI_FLASH
36 select BOOT_DEVICE_SUPPORTS_WRITES
37 select POSTCAR_CONSOLE
38 select SOC_INTEL_COMMON
39 select SOC_INTEL_COMMON_RESET
40 select PLATFORM_USES_FSP2_0
41 select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS
42 select FSP_T_XIP
43 select FSP_M_XIP
Jonathan Zhang8f895492020-01-16 11:16:45 -080044 select POSTCAR_STAGE
45 select IOAPIC
46 select PARALLEL_MP
47 select SMP
48 select INTEL_DESCRIPTOR_MODE_CAPABLE
49 select COMMON_FADT
50 select SOC_INTEL_COMMON_BLOCK
51 select SOC_INTEL_COMMON_BLOCK_CPU
52 select SOC_INTEL_COMMON_BLOCK_TIMER
53 select SOC_INTEL_COMMON_BLOCK_LPC
54 select SOC_INTEL_COMMON_BLOCK_RTC
55 select SOC_INTEL_COMMON_BLOCK_SPI
56 select SOC_INTEL_COMMON_BLOCK_FAST_SPI
57 select SOC_INTEL_COMMON_BLOCK_PCR
58 select TSC_MONOTONIC_TIMER
59 select UDELAY_TSC
60 select SUPPORT_CPU_UCODE_IN_CBFS
Nico Huber0266be02020-03-08 18:36:00 +010061 select MICROCODE_BLOB_NOT_HOOKED_UP
Jonathan Zhang8f895492020-01-16 11:16:45 -080062 select CPU_INTEL_FIRMWARE_INTERFACE_TABLE
Andrey Petrov662da6c2020-03-16 22:46:57 -070063 select FSP_CAR
Jonathan Zhang8f895492020-01-16 11:16:45 -080064
65config MAINBOARD_USES_FSP2_0
66 bool
67 default y
68
69config USE_FSP2_0_DRIVER
70 def_bool y
71 depends on MAINBOARD_USES_FSP2_0
72 select PLATFORM_USES_FSP2_0
73 select UDK_2015_BINDING
74 select POSTCAR_CONSOLE
75 select POSTCAR_STAGE
76
Jonathan Zhang8f895492020-01-16 11:16:45 -080077config MAX_SOCKET
78 int
79 default 2
80
81# For 2S config, the number of cpus could be as high as
82# 2 threads * 20 cores * 2 sockets
83config MAX_CPUS
84 int
85 default 80
86
87config PCR_BASE_ADDRESS
88 hex
89 default 0xfd000000
90 help
91 This option allows you to select MMIO Base Address of sideband bus.
92
Jonathan Zhang8f895492020-01-16 11:16:45 -080093config DCACHE_BSP_STACK_SIZE
94 hex
95 default 0x10000
96
97config MMCONF_BASE_ADDRESS
98 hex
99 default 0x80000000
100
Jonathan Zhang8f895492020-01-16 11:16:45 -0800101config C_ENV_BOOTBLOCK_SIZE
102 hex
103 default 0xC000
104
105config HEAP_SIZE
106 hex
107 default 0x80000
108
Jonathan Zhang8f895492020-01-16 11:16:45 -0800109endif ## SOC_INTEL_XEON_SP