1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef AMD_BLOCK_CHIP_H
4 #define AMD_BLOCK_CHIP_H
6 #include <amdblocks/acp.h>
7 #include <amdblocks/espi.h>
8 #include <amdblocks/spi.h>
11 struct soc_amd_common_config
{
14 * Default values if not overridden by mainboard:
15 * Read mode - Normal 33MHz
16 * Normal speed - 66MHz
21 struct spi_config spi_config
;
23 /* eSPI configuration */
24 struct espi_config espi_config
;
26 /* Options for these are in src/include/acpi/acpi.h */
27 uint16_t fadt_boot_arch
;
30 /* Audio Co-processor (ACP) configuration */
31 struct acp_config acp_config
;
35 * SoC callback that returns pointer to soc_amd_common_config structure embedded within the chip
38 const struct soc_amd_common_config
*soc_get_common_config(void);
40 #endif /* AMD_BLOCK_CHIP_H */