blob: bd1fa972394931d0d82319e67b583fdc5df1a535 [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
5config MAINBOARD_USES_FSP2_0
6 bool
7 default y
8
Andrey Petrov2e410752020-03-20 12:08:32 -07009config FSP_HEADER_PATH
10 string "Location of FSP headers"
11 depends on MAINBOARD_USES_FSP2_0
12 default "src/vendorcode/intel/fsp/fsp2_0/cooperlake_sp"
13
14config MAX_SOCKET
15 int
16 default 2
17
18config MAX_CPUS
19 int
Andrey Petrove37d1f72020-04-20 21:11:51 -070020 default 255
Andrey Petrov2e410752020-03-20 12:08:32 -070021
22config PCR_BASE_ADDRESS
23 hex
24 default 0xfd000000
25 help
26 This option allows you to select MMIO Base Address of sideband bus.
27
28# currently FSP hardcodes [0fe800000;fe930000] for its heap
29config DCACHE_RAM_BASE
30 hex
Andrey Petrovdddb9a82020-04-20 18:07:08 -070031 default 0xfe9a0000
Andrey Petrov2e410752020-03-20 12:08:32 -070032
33config DCACHE_RAM_SIZE
34 hex
Andrey Petrovdddb9a82020-04-20 18:07:08 -070035 default 0x60000
Andrey Petrov2e410752020-03-20 12:08:32 -070036
37config DCACHE_BSP_STACK_SIZE
38 hex
39 default 0x10000
40
41config CPU_MICROCODE_CBFS_LOC
42 hex
43 default 0xfff0fdc0
44
45config CPU_MICROCODE_CBFS_LEN
46 hex
47 default 0x7C00
48
49config C_ENV_BOOTBLOCK_SIZE
50 hex
51 default 0xC000
52
53config HEAP_SIZE
54 hex
55 default 0x80000
56
57config FSP_TEMP_RAM_SIZE
58 hex
59 depends on FSP_USES_CB_STACK
60 default 0x70000
61 help
62 The amount of anticipated heap usage in CAR by FSP.
63 Refer to Platform FSP integration guide document to know
64 the exact FSP requirement for Heap setup.
65
Andrey Petrovcf270f02020-04-30 13:36:38 -070066config SOC_INTEL_COMMON_BLOCK_P2SB
67 def_bool y
68
Jonathan Zhang74540052020-06-01 16:01:08 -070069select CACHE_MRC_SETTINGS
70
Jonathan Zhangdecf7dc2020-07-27 15:26:30 -070071# CPX-SP has 2 IMCs, 3 channels per IMC, 2 DIMMs per channel
72# Default value is set to one socket, full config.
73config DIMM_MAX
74 int
75 default 12
76
77# DDR4
78config DIMM_SPD_SIZE
79 int
80 default 512
81
Andrey Petrov2e410752020-03-20 12:08:32 -070082endif