blob: fd40231827e26d1010ba2793b8e7fcc288b2bfe4 [file] [log] [blame]
Martin Roth1a3de8e2022-10-06 15:57:21 -06001# SPDX-License-Identifier: GPL-2.0-only
2
3# TODO: Evaluate what can be moved to a common directory
Martin Roth20646cd2023-01-04 21:27:06 -07004# TODO: Update for Phoenix
Martin Roth1a3de8e2022-10-06 15:57:21 -06005
Felix Held73045b22024-01-15 17:34:37 +01006config SOC_AMD_PHOENIX_BASE
Martin Roth1a3de8e2022-10-06 15:57:21 -06007 bool
Martin Roth1a3de8e2022-10-06 15:57:21 -06008 select ACPI_SOC_NVS
Martin Roth1a3de8e2022-10-06 15:57:21 -06009 select ARCH_X86
10 select BOOT_DEVICE_SUPPORTS_WRITES if BOOT_DEVICE_SPI_FLASH
Fred Reitberger097f5402023-02-24 13:27:13 -050011 select CACHE_MRC_SETTINGS
Martin Roth1a3de8e2022-10-06 15:57:21 -060012 select DRIVERS_USB_ACPI
13 select DRIVERS_USB_PCI_XHCI
Martin Roth1a3de8e2022-10-06 15:57:21 -060014 select GENERIC_GPIO_LIB
15 select HAVE_ACPI_TABLES
16 select HAVE_CF9_RESET
17 select HAVE_EM100_SUPPORT
Martin Roth1a3de8e2022-10-06 15:57:21 -060018 select HAVE_SMI_HANDLER
19 select IDT_IN_EVERY_STAGE
20 select PARALLEL_MP_AP_WORK
Martin Roth1a3de8e2022-10-06 15:57:21 -060021 select PROVIDES_ROM_SHARING
22 select PSP_SUPPORTS_EFS2_RELATIVE_ADDR if VBOOT_STARTS_BEFORE_BOOTBLOCK
Karthikeyan Ramasubramanian637a21e2023-10-04 17:50:52 -060023 # TODO: (b/303516266) Re-enable CCP DMA after addressing a stall
24 # select PSP_VERSTAGE_CCP_DMA if VBOOT_STARTS_BEFORE_BOOTBLOCK
Martin Roth1a3de8e2022-10-06 15:57:21 -060025 select RESET_VECTOR_IN_RAM
26 select RTC
27 select SOC_AMD_COMMON
Fred Reitberger2dceb122022-11-04 14:37:34 -040028 select SOC_AMD_COMMON_BLOCK_ACP_GEN2
Martin Roth9c64c082022-10-18 17:54:52 -060029 select SOC_AMD_COMMON_BLOCK_ACPI # TODO: Check if this is still correct
30 select SOC_AMD_COMMON_BLOCK_ACPIMMIO # TODO: Check if this is still correct
31 select SOC_AMD_COMMON_BLOCK_ACPI_ALIB # TODO: Check if this is still correct
Fred Reitberger559f3d42023-06-29 15:13:49 -040032 select SOC_AMD_COMMON_BLOCK_ACPI_CPPC
Felix Held8ec90ac2023-03-07 00:31:41 +010033 select SOC_AMD_COMMON_BLOCK_ACPI_CPU_POWER_STATE
Martin Roth9c64c082022-10-18 17:54:52 -060034 select SOC_AMD_COMMON_BLOCK_ACPI_GPIO # TODO: Check if this is still correct
35 select SOC_AMD_COMMON_BLOCK_ACPI_IVRS # TODO: Check if this is still correct
Felix Heldaab8a222024-01-08 23:30:38 +010036 select SOC_AMD_COMMON_BLOCK_ACPI_MADT
Fred Reitberger2dceb122022-11-04 14:37:34 -040037 select SOC_AMD_COMMON_BLOCK_AOAC
Fred Reitbergerc53ab572023-07-17 08:31:45 -040038 select SOC_AMD_COMMON_BLOCK_APOB
39 select SOC_AMD_COMMON_BLOCK_APOB_HASH
Fred Reitberger2dceb122022-11-04 14:37:34 -040040 select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS
Felix Helda63f8592023-03-24 16:30:55 +010041 select SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM17H_19H
Fred Reitberger28908412022-11-01 10:49:16 -040042 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC
Felix Held268dadb2023-05-31 16:23:38 +020043 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC_DOMAIN
Felix Heldea831392023-08-08 02:55:09 +020044 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC_MULTI_PCI_SEGMENT
Felix Heldd6326972023-09-15 22:40:02 +020045 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC_NP_REGION
Fred Reitberger267edec2022-12-13 12:56:09 -050046 select SOC_AMD_COMMON_BLOCK_ESPI_EXTENDED_DECODE_RANGES
Martin Roth9c64c082022-10-18 17:54:52 -060047 select SOC_AMD_COMMON_BLOCK_GRAPHICS # TODO: Check if this is still correct
Fred Reitberger267edec2022-12-13 12:56:09 -050048 select SOC_AMD_COMMON_BLOCK_HAS_ESPI
49 select SOC_AMD_COMMON_BLOCK_HAS_ESPI_ALERT_ENABLE
Fred Reitberger2dceb122022-11-04 14:37:34 -040050 select SOC_AMD_COMMON_BLOCK_I2C
51 select SOC_AMD_COMMON_BLOCK_I23C_PAD_CTRL
52 select SOC_AMD_COMMON_BLOCK_IOMMU
Fred Reitberger267edec2022-12-13 12:56:09 -050053 select SOC_AMD_COMMON_BLOCK_LPC
Fred Reitberger2dceb122022-11-04 14:37:34 -040054 select SOC_AMD_COMMON_BLOCK_MCAX
55 select SOC_AMD_COMMON_BLOCK_NONCAR
Fred Reitbergera6514e22022-12-07 08:39:55 -050056 select SOC_AMD_COMMON_BLOCK_PCI
57 select SOC_AMD_COMMON_BLOCK_PCI_MMCONF
58 select SOC_AMD_COMMON_BLOCK_PCIE_GPP_DRIVER
Fred Reitberger2dceb122022-11-04 14:37:34 -040059 select SOC_AMD_COMMON_BLOCK_PM
60 select SOC_AMD_COMMON_BLOCK_PM_CHIPSET_STATE_SAVE
Martin Roth9c64c082022-10-18 17:54:52 -060061 select SOC_AMD_COMMON_BLOCK_PSP_GEN2 # TODO: Check if this is still correct
Felix Held51d1f302023-10-04 21:10:36 +020062 select SOC_AMD_COMMON_BLOCK_PSP_SPL
Martin Roth10c43a22023-02-02 17:21:37 -070063 select SOC_AMD_COMMON_BLOCK_RESET
Fred Reitberger2dceb122022-11-04 14:37:34 -040064 select SOC_AMD_COMMON_BLOCK_SMBUS
65 select SOC_AMD_COMMON_BLOCK_SMI
Fred Reitberger267edec2022-12-13 12:56:09 -050066 select SOC_AMD_COMMON_BLOCK_SMM
67 select SOC_AMD_COMMON_BLOCK_SMU
Felix Held65d822e2023-01-12 23:11:42 +010068 select SOC_AMD_COMMON_BLOCK_SMU_SX_ENTRY
Fred Reitberger2dceb122022-11-04 14:37:34 -040069 select SOC_AMD_COMMON_BLOCK_SPI
Felix Held23a398e2023-03-23 23:44:03 +010070 select SOC_AMD_COMMON_BLOCK_SVI3
Felix Held60df7ca2023-03-24 20:33:15 +010071 select SOC_AMD_COMMON_BLOCK_TSC
Fred Reitberger2dceb122022-11-04 14:37:34 -040072 select SOC_AMD_COMMON_BLOCK_UART
73 select SOC_AMD_COMMON_BLOCK_UCODE
Jon Murphydf2edde2023-04-06 17:15:14 -060074 select SOC_AMD_COMMON_BLOCK_XHCI
Felix Heldce60fb12024-01-18 20:42:54 +010075 select SOC_AMD_COMMON_ROMSTAGE_LEGACY_DMA_FIXUP
Felix Held73045b22024-01-15 17:34:37 +010076 select SSE2
77 select USE_DDR5
78 select VBOOT_DEFINE_WIDEVINE_COUNTERS if VBOOT_STARTS_BEFORE_BOOTBLOCK
79 select VBOOT_X86_SHA256_ACCELERATION if VBOOT
80 select X86_AMD_FIXED_MTRRS
81 select X86_INIT_NEED_1_SIPI
82
83config SOC_AMD_PHOENIX_FSP
84 bool
85 select SOC_AMD_PHOENIX_BASE
86 select FSP_COMPRESS_FSP_M_LZMA if !ASYNC_FILE_LOADING
87 select FSP_COMPRESS_FSP_M_LZ4 if ASYNC_FILE_LOADING
88 select FSP_COMPRESS_FSP_S_LZ4
89 select HAVE_FSP_GOP
90 select PLATFORM_USES_FSP2_0
Fred Reitberger559f3d42023-06-29 15:13:49 -040091 select SOC_AMD_COMMON_FSP_CCX_CPPC_HOB
Konrad Adamczykff786b52023-06-27 13:18:30 +000092 select SOC_AMD_COMMON_FSP_DMI_TABLES
Martin Roth9c64c082022-10-18 17:54:52 -060093 select SOC_AMD_COMMON_FSP_PCI # TODO: Check if this is still correct
Matt DeVillier6bb0f8a2023-11-13 20:57:12 -060094 select SOC_AMD_COMMON_FSP_PCIE_CLK_REQ
Fred Reitberger010c4082023-01-11 15:11:48 -050095 select SOC_AMD_COMMON_FSP_PRELOAD_FSPS
Martin Roth1a3de8e2022-10-06 15:57:21 -060096 select UDK_2017_BINDING
Martin Roth1a3de8e2022-10-06 15:57:21 -060097 select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM
98 select USE_FSP_NOTIFY_PHASE_READY_TO_BOOT
99 select USE_FSP_NOTIFY_PHASE_END_OF_FIRMWARE
Elyes Haouas3cd06cc2023-01-05 07:42:24 +0100100 help
Felix Held73045b22024-01-15 17:34:37 +0100101 AMD Phoenix support using FSP
Elyes Haouas3cd06cc2023-01-05 07:42:24 +0100102
Felix Held73045b22024-01-15 17:34:37 +0100103if SOC_AMD_PHOENIX_BASE
Martin Roth1a3de8e2022-10-06 15:57:21 -0600104
Martin Roth1a3de8e2022-10-06 15:57:21 -0600105config CHIPSET_DEVICETREE
106 string
Martin Roth20646cd2023-01-04 21:27:06 -0700107 default "soc/amd/phoenix/chipset.cb"
Martin Roth1a3de8e2022-10-06 15:57:21 -0600108
109config EARLY_RESERVED_DRAM_BASE
110 hex
111 default 0x2000000
112 help
113 This variable defines the base address of the DRAM which is reserved
114 for usage by coreboot in early stages (i.e. before ramstage is up).
115 This memory gets reserved in BIOS tables to ensure that the OS does
116 not use it, thus preventing corruption of OS memory in case of S3
117 resume.
118
119config EARLYRAM_BSP_STACK_SIZE
120 hex
121 default 0x1000
122
123config PSP_APOB_DRAM_ADDRESS
124 hex
125 default 0x2001000
126 help
127 Location in DRAM where the PSP will copy the AGESA PSP Output
128 Block.
129
130config PSP_APOB_DRAM_SIZE
131 hex
Fred Reitberger40646772023-02-08 13:05:05 -0500132 default 0x40000
Martin Roth1a3de8e2022-10-06 15:57:21 -0600133
134config PSP_SHAREDMEM_BASE
135 hex
Fred Reitberger40646772023-02-08 13:05:05 -0500136 default 0x2041000 if VBOOT
Martin Roth1a3de8e2022-10-06 15:57:21 -0600137 default 0x0
138 help
139 This variable defines the base address in DRAM memory where PSP copies
140 the vboot workbuf. This is used in the linker script to have a static
141 allocation for the buffer as well as for adding relevant entries in
142 the BIOS directory table for the PSP.
143
144config PSP_SHAREDMEM_SIZE
145 hex
146 default 0x8000 if VBOOT
147 default 0x0
148 help
149 Sets the maximum size for the PSP to pass the vboot workbuf and
150 any logs or timestamps back to coreboot. This will be copied
151 into main memory by the PSP and will be available when the x86 is
152 started. The workbuf's base depends on the address of the reset
153 vector.
154
155config PRE_X86_CBMEM_CONSOLE_SIZE
156 hex
157 default 0x1600
158 help
159 Size of the CBMEM console used in PSP verstage.
160
161config PRERAM_CBMEM_CONSOLE_SIZE
162 hex
163 default 0x1600
164 help
165 Increase this value if preram cbmem console is getting truncated
166
167config CBFS_MCACHE_SIZE
168 hex
169 default 0x2000 if VBOOT_STARTS_BEFORE_BOOTBLOCK
170
171config C_ENV_BOOTBLOCK_SIZE
172 hex
173 default 0x10000
174 help
175 Sets the size of the bootblock stage that should be loaded in DRAM.
176 This variable controls the DRAM allocation size in linker script
177 for bootblock stage.
178
179config ROMSTAGE_ADDR
180 hex
Fred Reitberger40646772023-02-08 13:05:05 -0500181 default 0x2060000
Martin Roth1a3de8e2022-10-06 15:57:21 -0600182 help
183 Sets the address in DRAM where romstage should be loaded.
184
185config ROMSTAGE_SIZE
186 hex
187 default 0x80000
188 help
189 Sets the size of DRAM allocation for romstage in linker script.
190
Martin Roth1a3de8e2022-10-06 15:57:21 -0600191config VERSTAGE_ADDR
192 hex
193 depends on VBOOT_SEPARATE_VERSTAGE
Fred Reitberger40646772023-02-08 13:05:05 -0500194 default 0x21A0000
Martin Roth1a3de8e2022-10-06 15:57:21 -0600195 help
196 Sets the address in DRAM where verstage should be loaded if running
197 as a separate stage on x86.
198
199config VERSTAGE_SIZE
200 hex
201 depends on VBOOT_SEPARATE_VERSTAGE
202 default 0x80000
203 help
204 Sets the size of DRAM allocation for verstage in linker script if
205 running as a separate stage on x86.
206
207config ASYNC_FILE_LOADING
208 bool "Loads files from SPI asynchronously"
209 select COOP_MULTITASKING
210 select SOC_AMD_COMMON_BLOCK_LPC_SPI_DMA
211 select CBFS_PRELOAD
212 help
213 When enabled, the platform will use the LPC SPI DMA controller to
214 asynchronously load contents from the SPI ROM. This will improve
215 boot time because the CPUs can be performing useful work while the
216 SPI contents are being preloaded.
217
218config CBFS_CACHE_SIZE
219 hex
220 default 0x40000 if CBFS_PRELOAD
221
222config RO_REGION_ONLY
223 string
224 depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A
225 default "apu/amdfw"
226
227config ECAM_MMCONF_BASE_ADDRESS
Ritul Guru75a073d2023-01-12 17:42:54 +0530228 default 0xE0000000
Martin Roth1a3de8e2022-10-06 15:57:21 -0600229
230config ECAM_MMCONF_BUS_NUMBER
Ritul Guru75a073d2023-01-12 17:42:54 +0530231 default 256
Martin Roth1a3de8e2022-10-06 15:57:21 -0600232
233config MAX_CPUS
234 int
Martin Roth1a3de8e2022-10-06 15:57:21 -0600235 default 16
236 help
237 Maximum number of threads the platform can have.
238
Martin Rothab059642023-05-01 14:00:40 -0600239config VGA_BIOS_ID
240 string
Felix Heldbc069ea2023-05-26 18:23:43 +0200241 default "1002,15bf"
Martin Rothab059642023-05-01 14:00:40 -0600242 help
243 The default VGA BIOS PCI vendor/device ID should be set to the
244 result of the map_oprom_vendev() function in graphics.c.
245
Felix Heldd4440dd2023-05-26 18:25:33 +0200246# TODO: add VGA_BIOS_FILE default once the correct VBIOS binaries are available in amd_blobs
Martin Rothab059642023-05-01 14:00:40 -0600247
Martin Roth1a3de8e2022-10-06 15:57:21 -0600248config CONSOLE_UART_BASE_ADDRESS
249 depends on CONSOLE_SERIAL && AMD_SOC_CONSOLE_UART
250 hex
251 default 0xfedc9000 if UART_FOR_CONSOLE = 0
252 default 0xfedca000 if UART_FOR_CONSOLE = 1
253 default 0xfedce000 if UART_FOR_CONSOLE = 2
254 default 0xfedcf000 if UART_FOR_CONSOLE = 3
255 default 0xfedd1000 if UART_FOR_CONSOLE = 4
256
257config SMM_TSEG_SIZE
258 hex
259 default 0x800000 if HAVE_SMI_HANDLER
260 default 0x0
261
262config SMM_RESERVED_SIZE
263 hex
264 default 0x180000
265
266config SMM_MODULE_STACK_SIZE
267 hex
268 default 0x800
269
270config ACPI_BERT
271 bool "Build ACPI BERT Table"
272 default y
273 depends on HAVE_ACPI_TABLES
274 help
275 Report Machine Check errors identified in POST to the OS in an
276 ACPI Boot Error Record Table.
277
278config ACPI_BERT_SIZE
279 hex
280 default 0x4000 if ACPI_BERT
281 default 0x0
282 help
283 Specify the amount of DRAM reserved for gathering the data used to
284 generate the ACPI table.
285
286config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
287 int
288 default 150
289
290config DISABLE_SPI_FLASH_ROM_SHARING
291 def_bool n
292 help
293 Instruct the chipset to not honor the EGPIO67_SPI_ROM_REQ pin
294 which indicates a board level ROM transaction request. This
295 removes arbitration with board and assumes the chipset controls
296 the SPI flash bus entirely.
297
298config DISABLE_KEYBOARD_RESET_PIN
299 bool
300 help
Martin Roth9ceac742023-02-08 14:26:02 -0700301 Instruct the SoC to not to reset based on the state of GPIO_21, KBDRST_L.
Martin Roth1a3de8e2022-10-06 15:57:21 -0600302
Martin Roth1a3de8e2022-10-06 15:57:21 -0600303menu "PSP Configuration Options"
304
Martin Roth1a3de8e2022-10-06 15:57:21 -0600305config AMDFW_CONFIG_FILE
306 string "AMD PSP Firmware config file"
Martin Roth20646cd2023-01-04 21:27:06 -0700307 default "src/soc/amd/phoenix/fw.cfg"
Martin Roth1a3de8e2022-10-06 15:57:21 -0600308 help
309 Specify the path/location of AMD PSP Firmware config file.
310
311config PSP_DISABLE_POSTCODES
312 bool "Disable PSP post codes"
313 help
314 Disables the output of port80 post codes from PSP.
315
316config PSP_POSTCODES_ON_ESPI
317 bool "Use eSPI bus for PSP post codes"
318 default y
319 depends on !PSP_DISABLE_POSTCODES
320 help
321 Select to send PSP port80 post codes on eSPI bus.
322 If not selected, PSP port80 codes will be sent on LPC bus.
323
324config PSP_LOAD_MP2_FW
325 bool
326 default n
327 help
328 Include the MP2 firmwares and configuration into the PSP build.
329
330 If unsure, answer 'n'
331
332config PSP_UNLOCK_SECURE_DEBUG
333 bool "Unlock secure debug"
334 default y
335 help
336 Select this item to enable secure debug options in PSP.
337
338config HAVE_PSP_WHITELIST_FILE
339 bool "Include a debug whitelist file in PSP build"
340 default n
341 help
342 Support secured unlock prior to reset using a whitelisted
343 serial number. This feature requires a signed whitelist image
344 and bootloader from AMD.
345
346 If unsure, answer 'n'
347
348config PSP_WHITELIST_FILE
349 string "Debug whitelist file path"
350 depends on HAVE_PSP_WHITELIST_FILE
Martin Roth20646cd2023-01-04 21:27:06 -0700351 default "site-local/3rdparty/amd_blobs/phoenix/PSP/wtl-phx.sbin"
Martin Roth1a3de8e2022-10-06 15:57:21 -0600352
Martin Roth1a3de8e2022-10-06 15:57:21 -0600353config PSP_SOFTFUSE_BITS
354 string "PSP Soft Fuse bits to enable"
Fred Reitberger5c1c7b62023-05-12 12:53:52 -0400355 default "36 28 6"
Martin Roth1a3de8e2022-10-06 15:57:21 -0600356 help
357 Space separated list of Soft Fuse bits to enable.
358 Bit 0: Enable secure debug (Set by PSP_UNLOCK_SECURE_DEBUG)
359 Bit 7: Disable PSP postcodes on Renoir and newer chips only
360 (Set by PSP_DISABLE_PORT80)
361 Bit 15: PSP debug output destination:
362 0=SoC MMIO UART, 1=IO port 0x3F8
363 Bit 29: Disable MP2 firmware loading (Set by PSP_LOAD_MP2_FW)
364
365 See #55758 (NDA) for additional bit definitions.
366
367config PSP_VERSTAGE_FILE
368 string "Specify the PSP_verstage file path"
369 depends on VBOOT_STARTS_BEFORE_BOOTBLOCK
370 default "\$(obj)/psp_verstage.bin"
371 help
372 Add psp_verstage file to the build & PSP Directory Table
373
374config PSP_VERSTAGE_SIGNING_TOKEN
375 string "Specify the PSP_verstage Signature Token file path"
376 depends on VBOOT_STARTS_BEFORE_BOOTBLOCK
377 default ""
378 help
379 Add psp_verstage signature token to the build & PSP Directory Table
380
381endmenu
382
383config VBOOT
384 select VBOOT_VBNV_CMOS
385 select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
386
387config VBOOT_STARTS_BEFORE_BOOTBLOCK
388 def_bool n
389 depends on VBOOT
390 select ARCH_VERSTAGE_ARMV7
391 help
392 Runs verstage on the PSP. Only available on
393 certain ChromeOS branded parts from AMD.
394
395config VBOOT_HASH_BLOCK_SIZE
396 hex
397 default 0x9000
398 depends on VBOOT_STARTS_BEFORE_BOOTBLOCK
399 help
400 Because the bulk of the time in psp_verstage to hash the RO cbfs is
401 spent in the overhead of doing svc calls, increasing the hash block
402 size significantly cuts the verstage hashing time as seen below.
403
404 4k takes 180ms
405 16k takes 44ms
406 32k takes 33.7ms
407 36k takes 32.5ms
408 There's actually still room for an even bigger stack, but we've
409 reached a point of diminishing returns.
410
411config CMOS_RECOVERY_BYTE
412 hex
413 default 0x51
414 depends on VBOOT_STARTS_BEFORE_BOOTBLOCK
415 help
416 If the workbuf is not passed from the PSP to coreboot, set the
417 recovery flag and reboot. The PSP will read this byte, mark the
418 recovery request in VBNV, and reset the system into recovery mode.
419
420 This is the byte before the default first byte used by VBNV
421 (0x26 + 0x0E - 1)
422
423if VBOOT_SLOTS_RW_AB && VBOOT_STARTS_BEFORE_BOOTBLOCK
424
425config RWA_REGION_ONLY
426 string
427 default "apu/amdfw_a"
428 help
429 Add a space-delimited list of filenames that should only be in the
430 RW-A section.
431
432config RWB_REGION_ONLY
433 string
434 default "apu/amdfw_b"
435 help
436 Add a space-delimited list of filenames that should only be in the
437 RW-B section.
438
439endif # VBOOT_SLOTS_RW_AB && VBOOT_STARTS_BEFORE_BOOTBLOCK
440
Felix Held73045b22024-01-15 17:34:37 +0100441endif # SOC_AMD_PHOENIX_BASE
442
443if SOC_AMD_PHOENIX_FSP
444
445config FSP_M_ADDR
446 hex
447 default 0x20E0000
448 help
449 Sets the address in DRAM where FSP-M should be loaded. cbfstool
450 performs relocation of FSP-M to this address.
451
452config FSP_M_SIZE
453 hex
454 default 0xC0000
455 help
456 Sets the size of DRAM allocation for FSP-M in linker script.
457
458config FSP_TEMP_RAM_SIZE
459 hex
460 default 0x40000
461 help
462 The amount of coreboot-allocated heap and stack usage by the FSP.
463
464endif # SOC_AMD_PHOENIX_FSP