blob: 0df9847d22cc558b81047f5d8e0c6812a36d37d7 [file] [log] [blame]
Andrey Petrov2e410752020-03-20 12:08:32 -07001## SPDX-License-Identifier: GPL-2.0-only
Andrey Petrov2e410752020-03-20 12:08:32 -07002
3if SOC_INTEL_COOPERLAKE_SP
4
Andrey Petrov2e410752020-03-20 12:08:32 -07005config FSP_HEADER_PATH
6 string "Location of FSP headers"
7 depends on MAINBOARD_USES_FSP2_0
8 default "src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp"
9
10config MAX_SOCKET
11 int
12 default 2
13
14config MAX_CPUS
15 int
Andrey Petrove37d1f72020-04-20 21:11:51 -070016 default 255
Andrey Petrov2e410752020-03-20 12:08:32 -070017
18config PCR_BASE_ADDRESS
19 hex
20 default 0xfd000000
21 help
22 This option allows you to select MMIO Base Address of sideband bus.
23
Andrey Petrov2e410752020-03-20 12:08:32 -070024config DCACHE_RAM_BASE
25 hex
Jonathan Zhangd4efb332020-07-22 12:39:40 -070026 default 0xfe8b0000
Andrey Petrov2e410752020-03-20 12:08:32 -070027
28config DCACHE_RAM_SIZE
29 hex
Jonathan Zhangd4efb332020-07-22 12:39:40 -070030 default 0x170000
31 help
32 The size of the cache-as-ram region required during bootblock
33 and/or romstage.
Andrey Petrov2e410752020-03-20 12:08:32 -070034
35config DCACHE_BSP_STACK_SIZE
36 hex
Jonathan Zhangd4efb332020-07-22 12:39:40 -070037 default 0xA0000
38 help
39 The amount of anticipated stack usage in CAR by bootblock and
40 other stages. It needs to include FSP-M stack requirement and
41 CB romstage stack requirement.
Andrey Petrov2e410752020-03-20 12:08:32 -070042
43config CPU_MICROCODE_CBFS_LOC
44 hex
45 default 0xfff0fdc0
46
47config CPU_MICROCODE_CBFS_LEN
48 hex
49 default 0x7C00
50
51config C_ENV_BOOTBLOCK_SIZE
52 hex
53 default 0xC000
54
55config HEAP_SIZE
56 hex
57 default 0x80000
58
Jonathan Zhang4337a9a2020-07-31 17:35:25 -070059config STACK_SIZE
60 hex
61 default 0x4000
62
Andrey Petrov2e410752020-03-20 12:08:32 -070063config FSP_TEMP_RAM_SIZE
64 hex
65 depends on FSP_USES_CB_STACK
Jonathan Zhangd4efb332020-07-22 12:39:40 -070066 default 0xA0000
Andrey Petrov2e410752020-03-20 12:08:32 -070067 help
68 The amount of anticipated heap usage in CAR by FSP.
69 Refer to Platform FSP integration guide document to know
70 the exact FSP requirement for Heap setup.
71
Andrey Petrovcf270f02020-04-30 13:36:38 -070072config SOC_INTEL_COMMON_BLOCK_P2SB
73 def_bool y
74
Jonathan Zhang74540052020-06-01 16:01:08 -070075select CACHE_MRC_SETTINGS
76
Jonathan Zhangdecf7dc2020-07-27 15:26:30 -070077# CPX-SP has 2 IMCs, 3 channels per IMC, 2 DIMMs per channel
78# Default value is set to one socket, full config.
79config DIMM_MAX
80 int
81 default 12
82
83# DDR4
84config DIMM_SPD_SIZE
85 int
86 default 512
87
Andrey Petrov2e410752020-03-20 12:08:32 -070088endif