blob: 7b953649610773f82d5a037fff98e5ac9a7eada2 [file] [log] [blame]
Felix Heldc9737c5c2021-09-23 17:16:32 +02001config SOC_AMD_PI
Richard Spiegel19f67a32017-12-08 18:16:02 -07002 bool
Felix Heldc0982ab2021-09-23 15:28:51 +02003 depends on SOC_AMD_COMMON_BLOCK_ACPI
4 select CACHE_MRC_SETTINGS
Raul E Rangel80d042c2018-03-20 12:47:46 -06005 select HAVE_DEBUG_RAM_SETUP
Felix Heldc0982ab2021-09-23 15:28:51 +02006 select MRC_WRITE_NV_LATE
Richard Spiegel19f67a32017-12-08 18:16:02 -07007 help
Felix Heldbefec1e2020-11-06 00:26:03 +01008 This option builds functions that interface AMD's AGESA reference
Felix Heldc0982ab2021-09-23 15:28:51 +02009 code packaged in the binaryPI form and S3-related functionality.
Marshall Dawson10b52e02018-05-07 08:51:04 -060010
Felix Heldc9737c5c2021-09-23 17:16:32 +020011if SOC_AMD_PI
Marshall Dawson10b52e02018-05-07 08:51:04 -060012
Marshall Dawsonc150a572018-04-30 17:59:27 -060013config PI_AGESA_CAR_HEAP_BASE
14 hex
15 default 0x400000
16 help
17 The AGESA PI blob may be built to allow an optional callout for
18 AgesaHeapRebase. If AGESA calls AgesaHeapRebase, this option
19 determines the location of the heap prior to DRAM availability.
20
Marshall Dawson10b52e02018-05-07 08:51:04 -060021config PI_AGESA_TEMP_RAM_BASE
22 hex
23 default 0x100000
24 help
25 During a boot from S5, AGESA copies its CAR-based heap to a temporary
26 location in DRAM. Once coreboot has established cbmem, the heap
27 is moved again. This symbol determines the temporary location for
28 the heap.
29
30config PI_AGESA_HEAP_SIZE
31 hex
32 default 0x20000
33 help
34 This option determines the amount of space allowed for AGESA heap
35 prior to DRAM availability.
36
Felix Heldc9737c5c2021-09-23 17:16:32 +020037endif # SOC_AMD_PI