| 1 |
|
| 2 |
|
| 3 |
#ifndef AMD_BLOCK_CHIP_H |
| 4 |
#define AMD_BLOCK_CHIP_H |
| 5 |
|
| 6 |
#include <amdblocks/acp.h> |
| 7 |
#include <amdblocks/espi.h> |
| 8 |
#include <amdblocks/spi.h> |
| 9 |
#include <stdint.h> |
| 10 |
|
| 11 |
struct soc_amd_common_config { |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
struct spi_config spi_config; |
| 22 |
|
| 23 |
|
| 24 |
struct espi_config espi_config; |
| 25 |
|
| 26 |
|
| 27 |
uint16_t fadt_boot_arch; |
| 28 |
uint32_t fadt_flags; |
| 29 |
|
| 30 |
|
| 31 |
struct acp_config acp_config; |
| 32 |
}; |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
const struct soc_amd_common_config *soc_get_common_config(void); |
| 39 |
|
| 40 |
#endif |