From dc970fc0399b96e42671770fad6a7da5a40de461 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 13 Jul 2021 23:38:22 +0200 Subject: soc/amd/cezanne/mca: add empty mca_check_all_banks function This will allow factoring out and moving check_mca() to soc/amd/common. Change-Id: I92c7657baef17c248a5aef1eda268e9647502837 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/56280 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- src/soc/amd/cezanne/mca.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') 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 #include -/* 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(); -- cgit v1.2.3