summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/amd/cezanne/mca.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/soc/amd/cezanne/mca.c b/src/soc/amd/cezanne/mca.c
index 24a77887df..a8d97029f1 100644
--- a/src/soc/amd/cezanne/mca.c
+++ b/src/soc/amd/cezanne/mca.c
@@ -3,11 +3,15 @@
#include <amdblocks/mca.h>
#include <cpu/x86/msr.h>
-/* Check the Machine Check Architecture Extension registers */
-void check_mca(void)
+static void mca_check_all_banks(void)
{
/* TODO: Implement MCAX register checking and BERT table generation. */
+}
+/* Check the Machine Check Architecture Extension registers */
+void check_mca(void)
+{
+ mca_check_all_banks();
/* mca_clear_status uses the MCA registers and not the MCAX ones. Since they are
aliases, we can use either set of registers. */
mca_clear_status();