1 ## SPDX-License-Identifier: GPL-2.0-only
3 config SOC_AMD_GENOA_POC
8 config SOC_SPECIFIC_OPTIONS
13 select HAVE_ACPI_TABLES
14 select HAVE_X86_64_SUPPORT
15 select HAVE_SMI_HANDLER
16 select RESET_VECTOR_IN_RAM
18 select SOC_AMD_COMMON_BLOCK_ACPI
19 select SOC_AMD_COMMON_BLOCK_ACPIMMIO
20 select SOC_AMD_COMMON_BLOCK_ACPI_CPU_POWER_STATE
21 select SOC_AMD_COMMON_BLOCK_ACPI_IVRS
22 select SOC_AMD_COMMON_BLOCK_ACPI_MADT
23 select SOC_AMD_COMMON_BLOCK_AOAC
24 select SOC_AMD_COMMON_BLOCK_BANKED_GPIOS
25 select SOC_AMD_COMMON_BLOCK_CPUFREQ_FAM17H_19H
26 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC
27 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC_DOMAIN
28 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC_MULTI_PCI_SEGMENT
29 select SOC_AMD_COMMON_BLOCK_DATA_FABRIC_EXTENDED_MMIO
30 select SOC_AMD_COMMON_BLOCK_HAS_ESPI
31 select SOC_AMD_COMMON_BLOCK_I2C
32 select SOC_AMD_COMMON_BLOCK_IOMMU
33 select SOC_AMD_COMMON_BLOCK_LPC
34 select SOC_AMD_COMMON_BLOCK_MCAX
35 select SOC_AMD_COMMON_BLOCK_NONCAR
36 select SOC_AMD_COMMON_BLOCK_PCI
37 select SOC_AMD_COMMON_BLOCK_PCI_MMCONF
38 select SOC_AMD_COMMON_BLOCK_PSP_GEN2
39 select SOC_AMD_COMMON_BLOCK_PSP_SPL
40 select SOC_AMD_COMMON_BLOCK_SMI
41 select SOC_AMD_COMMON_BLOCK_SMM
42 select SOC_AMD_COMMON_BLOCK_SMU
43 select SOC_AMD_COMMON_BLOCK_SMU_SX_ENTRY
44 select SOC_AMD_COMMON_BLOCK_SVI3
45 select SOC_AMD_COMMON_BLOCK_TSC
46 select SOC_AMD_COMMON_BLOCK_UART
47 select SOC_AMD_COMMON_BLOCK_UCODE
48 select SOC_AMD_COMMON_BLOCK_USE_ESPI
49 select SOC_AMD_OPENSIL
50 select SOC_AMD_OPENSIL_GENOA_POC
51 select X86_CUSTOM_BOOTMEDIA
53 config USE_X86_64_SUPPORT
56 config CHIPSET_DEVICETREE
58 default "soc/amd/genoa_poc/chipset.cb"
60 config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
64 config EARLY_RESERVED_DRAM_BASE
68 This variable defines the base address of the DRAM which is reserved
69 for usage by coreboot in early stages (i.e. before ramstage is up).
70 This memory gets reserved in BIOS tables to ensure that the OS does
71 not use it, thus preventing corruption of OS memory in case of S3
74 config EARLYRAM_BSP_STACK_SIZE
82 config PSP_APOB_DRAM_ADDRESS
86 Location in DRAM where the PSP will copy the AGESA PSP Output
89 config PSP_APOB_DRAM_SIZE
93 config PRERAM_CBMEM_CONSOLE_SIZE
97 Increase this value if preram cbmem console is getting truncated
99 config C_ENV_BOOTBLOCK_SIZE
103 Sets the size of the bootblock stage that should be loaded in DRAM.
104 This variable controls the DRAM allocation size in linker script
111 Sets the address in DRAM where romstage should be loaded.
117 Sets the size of DRAM allocation for romstage in linker script.
119 config ECAM_MMCONF_BASE_ADDRESS
123 config ECAM_MMCONF_BUS_NUMBER
127 menu "PSP Configuration Options"
129 config AMDFW_CONFIG_FILE
131 default "src/soc/amd/genoa_poc/fw.cfg"
133 config PSP_DISABLE_POSTCODES
134 bool "Disable PSP post codes"
136 Disables the output of port80 post codes from PSP.
139 bool "Initialize eSPI in PSP Stage 2 Boot Loader"
141 Select to initialize the eSPI controller in the PSP Stage 2 Boot
144 config PSP_UNLOCK_SECURE_DEBUG
148 config HAVE_PSP_WHITELIST_FILE
149 bool "Include a debug whitelist file in PSP build"
152 Support secured unlock prior to reset using a whitelisted
153 serial number. This feature requires a signed whitelist image
154 and bootloader from AMD.
156 If unsure, answer 'n'
158 config PSP_WHITELIST_FILE
159 string "Debug whitelist file path"
160 depends on HAVE_PSP_WHITELIST_FILE
162 config PSP_SOFTFUSE_BITS
163 string "PSP Soft Fuse bits to enable"
166 Space separated list of Soft Fuse bits to enable.
167 Bit 0: Enable secure debug (Set by PSP_UNLOCK_SECURE_DEBUG)
168 Bit 7: Disable PSP postcodes on Renoir and newer chips only
169 (Set by PSP_DISABLE_PORT80)
170 Bit 15: PSP debug output destination:
171 0=SoC MMIO UART, 1=IO port 0x3F8
173 See #57299 (NDA) for additional bit definitions.
176 config CONSOLE_UART_BASE_ADDRESS
177 depends on CONSOLE_SERIAL && AMD_SOC_CONSOLE_UART
179 default 0xfedc9000 if UART_FOR_CONSOLE = 0
180 default 0xfedca000 if UART_FOR_CONSOLE = 1
181 default 0xfedce000 if UART_FOR_CONSOLE = 2
187 config ACPI_SSDT_PSD_INDEPENDENT
188 bool "Allow core p-state independent transitions"
191 AMD recommends the ACPI _PSD object to be configured to cause
192 cores to transition between p-states independently. A vendor may
193 choose to generate _PSD object to allow cores to transition together.
196 bool "Build ACPI BERT Table"
198 depends on HAVE_ACPI_TABLES
200 Report Machine Check errors identified in POST to the OS in an
201 ACPI Boot Error Record Table.
203 config ACPI_BERT_SIZE
205 default 0x4000 if ACPI_BERT
208 Specify the amount of DRAM reserved for gathering the data used to
209 generate the ACPI table.
211 endif # SOC_AMD_GENOA_POC