ec/google/chromeec: Enable ACPI memory mapping for Microchip EC
[coreboot2.git] / src / soc / amd / common / block / include / amdblocks / mca.h
blobc84f23215ae6807b97a1e7d34cbcaf5003c8ce35
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef AMD_BLOCK_MCA_H
4 #define AMD_BLOCK_MCA_H
6 #include <cpu/x86/msr.h>
7 #include <types.h>
9 struct mca_bank_status {
10 unsigned int bank;
11 msr_t sts;
14 void check_mca(void);
15 bool mca_has_expected_bank_count(void);
16 bool mca_is_valid_bank(unsigned int bank);
17 const char *mca_get_bank_name(unsigned int bank);
19 #endif /* AMD_BLOCK_MCA_H */