blob: a447f2a52121cb896f1949aa119c221d92240ffe [file] [log] [blame]
Ravi Sarawadib8224f42022-04-10 23:31:24 -07001config SOC_INTEL_METEORLAKE
2 bool
3
4if SOC_INTEL_METEORLAKE
5
6config CPU_SPECIFIC_OPTIONS
7 def_bool y
8 select ARCH_X86
9 select BOOT_DEVICE_SUPPORTS_WRITES
10 select INTEL_DESCRIPTOR_MODE_CAPABLE
11 select IDT_IN_EVERY_STAGE
12 select INTEL_CAR_NEM
13 select MICROCODE_BLOB_UNDISCLOSED
14 select SOC_INTEL_COMMON
15 select SOC_INTEL_COMMON_BLOCK_CAR
16 select SOC_INTEL_COMMON_BLOCK_CPU
17 select SOC_INTEL_COMMON_BLOCK_GSPI_VERSION_2
18 select SOC_INTEL_COMMON_BLOCK_SA
19 select SOC_INTEL_COMMON_PCH_BASE
20 select SOC_INTEL_COMMON_RESET
21 select SSE2
22 select SUPPORT_CPU_UCODE_IN_CBFS
23 select TSC_MONOTONIC_TIMER
24 select UDELAY_TSC
25
26config DCACHE_RAM_BASE
27 default 0xfef00000
28
29config DCACHE_RAM_SIZE
30 default 0xc0000
31 help
32 The size of the cache-as-ram region required during bootblock
33 and/or romstage.
34
35config DCACHE_BSP_STACK_SIZE
36 hex
37 default 0x80400
38 help
39 The amount of anticipated stack usage in CAR by bootblock and
40 other stages. In the case of FSP_USES_CB_STACK default value will be
41 sum of FSP-M stack requirement(512KiB) and CB romstage stack requirement
42 (~1KiB).
43
44config FSP_TEMP_RAM_SIZE
45 hex
46 default 0x20000
47 help
48 The amount of anticipated heap usage in CAR by FSP.
49 Refer to Platform FSP integration guide document to know
50 the exact FSP requirement for Heap setup.
51
52config IFD_CHIPSET
53 string
54 default "mtl"
55
56config IED_REGION_SIZE
57 hex
58 default 0x400000
59
60config HEAP_SIZE
61 hex
62 default 0x10000
63
64config PCR_BASE_ADDRESS
65 hex
66 default 0xe0000000
67 help
68 This option allows you to select MMIO Base Address of sideband bus.
69
70config ECAM_MMCONF_BASE_ADDRESS
71 default 0xc0000000
72
73config CPU_BCLK_MHZ
74 int
75 default 100
76
77config SOC_INTEL_COMMON_BLOCK_GSPI_CLOCK_MHZ
78 int
79 default 120
80
81config CPU_XTAL_HZ
82 default 38400000
83
84config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
85 int
86 default 133
87
88config SOC_INTEL_COMMON_BLOCK_GSPI_MAX
89 int
90 default 2
91
92config SOC_INTEL_I2C_DEV_MAX
93 int
94 default 6
95
96config SOC_INTEL_UART_DEV_MAX
97 int
98 default 3
99
100config SOC_INTEL_USB2_DEV_MAX
101 int
102 default 10
103
104config SOC_INTEL_USB3_DEV_MAX
105 int
106 default 2
107
108config CONSOLE_UART_BASE_ADDRESS
109 hex
110 default 0xfe03e000
111 depends on INTEL_LPSS_UART_FOR_CONSOLE
112
113# Clock divider parameters for 115200 baud rate
Angel Pons054ff5e2022-06-26 10:19:53 +0200114# Baudrate = (UART source clock * M) /(N *16)
Ravi Sarawadib8224f42022-04-10 23:31:24 -0700115# MTL UART source clock: 120MHz
116config SOC_INTEL_COMMON_LPSS_UART_CLK_M_VAL
117 hex
118 default 0x25a
119
120config SOC_INTEL_COMMON_LPSS_UART_CLK_N_VAL
121 hex
122 default 0x7fff
123
124config CBFS_SIZE
125 hex
126 default 0x200000
127
128config PRERAM_CBMEM_CONSOLE_SIZE
129 hex
Subrata Banikea4f8c22022-05-30 13:56:13 +0530130 default 0x2000
Ravi Sarawadib8224f42022-04-10 23:31:24 -0700131
132endif