ec/google/chromeec: Enable ACPI memory mapping for Microchip EC
[coreboot2.git] / src / soc / amd / common / block / include / amdblocks / chip.h
blob41359239cafb60986b8b3e11bdae6f446500a2b0
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>
9 #include <stdint.h>
11 struct soc_amd_common_config {
13 * SPI configuration
14 * Default values if not overridden by mainboard:
15 * Read mode - Normal 33MHz
16 * Normal speed - 66MHz
17 * Fast speed - 66MHz
18 * Alt speed - 66MHz
19 * TPM 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;
28 uint32_t fadt_flags;
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
36 * soc config.
38 const struct soc_amd_common_config *soc_get_common_config(void);
40 #endif /* AMD_BLOCK_CHIP_H */