blob: 7b583cd14a96945a54ca49092125995e1429bdad [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
Arthur Heymans86d195b2020-12-11 09:46:03 +01005config SOC_SPECIFIC_OPTIONS
6 def_bool y
7 select MICROCODE_BLOB_NOT_HOOKED_UP
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
Christian Walter19df8d82020-09-30 13:44:02 +020022config CPU_ADDR_BITS
23 int
24 default 46
25
Andrey Petrov2e410752020-03-20 12:08:32 -070026config PCR_BASE_ADDRESS
27 hex
28 default 0xfd000000
29 help
30 This option allows you to select MMIO Base Address of sideband bus.
31
Andrey Petrov2e410752020-03-20 12:08:32 -070032config DCACHE_RAM_BASE
33 hex
Arthur Heymansb38d6bb2020-10-28 18:24:56 +010034 default 0xfe800000
Andrey Petrov2e410752020-03-20 12:08:32 -070035
36config DCACHE_RAM_SIZE
37 hex
Arthur Heymansb38d6bb2020-10-28 18:24:56 +010038 default 0x1fff00
Jonathan Zhangd4efb332020-07-22 12:39:40 -070039 help
40 The size of the cache-as-ram region required during bootblock
Arthur Heymansb38d6bb2020-10-28 18:24:56 +010041 and/or romstage. FSP-T reserves the upper 0x100 for
42 FspReservedBuffer.
Andrey Petrov2e410752020-03-20 12:08:32 -070043
44config DCACHE_BSP_STACK_SIZE
45 hex
Arthur Heymansb38d6bb2020-10-28 18:24:56 +010046 default 0x140000
Jonathan Zhangd4efb332020-07-22 12:39:40 -070047 help
48 The amount of anticipated stack usage in CAR by bootblock and
49 other stages. It needs to include FSP-M stack requirement and
Arthur Heymansb38d6bb2020-10-28 18:24:56 +010050 CB romstage stack requirement. The integration documentation
51 says this needs to be 256KiB, but practice show this needs to
52 be a lot more.
Andrey Petrov2e410752020-03-20 12:08:32 -070053
54config CPU_MICROCODE_CBFS_LOC
55 hex
56 default 0xfff0fdc0
57
58config CPU_MICROCODE_CBFS_LEN
59 hex
60 default 0x7C00
61
62config C_ENV_BOOTBLOCK_SIZE
63 hex
64 default 0xC000
65
66config HEAP_SIZE
67 hex
68 default 0x80000
69
Jonathan Zhang4337a9a2020-07-31 17:35:25 -070070config STACK_SIZE
71 hex
72 default 0x4000
73
Andrey Petrov2e410752020-03-20 12:08:32 -070074config FSP_TEMP_RAM_SIZE
75 hex
76 depends on FSP_USES_CB_STACK
Arthur Heymansb38d6bb2020-10-28 18:24:56 +010077 default 0x40000
Andrey Petrov2e410752020-03-20 12:08:32 -070078 help
79 The amount of anticipated heap usage in CAR by FSP.
80 Refer to Platform FSP integration guide document to know
Arthur Heymansb38d6bb2020-10-28 18:24:56 +010081 the exact FSP requirement for Heap setup. The FSP integration
82 documentation says this needs to be at least 128KiB, but practice
83 show this needs to be 256KiB or more.
Andrey Petrov2e410752020-03-20 12:08:32 -070084
Rocky Phagura17a798b2020-10-08 13:32:41 -070085config IED_REGION_SIZE
86 hex
87 default 0x400000
88
Andrey Petrovcf270f02020-04-30 13:36:38 -070089config SOC_INTEL_COMMON_BLOCK_P2SB
90 def_bool y
91
Jingle Hsua41b12c2020-08-11 20:48:45 +080092config CPU_BCLK_MHZ
93 int
94 default 100
95
Jonathan Zhangdecf7dc2020-07-27 15:26:30 -070096# CPX-SP has 2 IMCs, 3 channels per IMC, 2 DIMMs per channel
97# Default value is set to one socket, full config.
98config DIMM_MAX
99 int
100 default 12
101
102# DDR4
103config DIMM_SPD_SIZE
104 int
105 default 512
106
Arthur Heymans9059a892020-10-23 11:08:41 +0200107if INTEL_TXT
108
109config INTEL_TXT_SINIT_SIZE
110 hex
111 default 0x50000
112 help
113 According to document number 572782 this needs to be 256KiB
114 for the SINIT module and 64KiB for SINIT data.
115
116config INTEL_TXT_HEAP_SIZE
117 hex
118 default 0xf0000
119 help
120 This must be 960KiB according to 572782.
121
122endif # INTEL_TXT
123
Andrey Petrov2e410752020-03-20 12:08:32 -0700124endif