blob: 93098e82504a70882453adaf2e17f92412fff8ae [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
59config FSP_TEMP_RAM_SIZE
60 hex
61 depends on FSP_USES_CB_STACK
Jonathan Zhangd4efb332020-07-22 12:39:40 -070062 default 0xA0000
Andrey Petrov2e410752020-03-20 12:08:32 -070063 help
64 The amount of anticipated heap usage in CAR by FSP.
65 Refer to Platform FSP integration guide document to know
66 the exact FSP requirement for Heap setup.
67
Andrey Petrovcf270f02020-04-30 13:36:38 -070068config SOC_INTEL_COMMON_BLOCK_P2SB
69 def_bool y
70
Jonathan Zhang74540052020-06-01 16:01:08 -070071select CACHE_MRC_SETTINGS
72
Jonathan Zhangdecf7dc2020-07-27 15:26:30 -070073# CPX-SP has 2 IMCs, 3 channels per IMC, 2 DIMMs per channel
74# Default value is set to one socket, full config.
75config DIMM_MAX
76 int
77 default 12
78
79# DDR4
80config DIMM_SPD_SIZE
81 int
82 default 512
83
Andrey Petrov2e410752020-03-20 12:08:32 -070084endif