summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-07-13 23:38:22 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-07-14 21:59:24 +0000
commitdc970fc0399b96e42671770fad6a7da5a40de461 (patch)
tree11afb19f341aa76c6f5c026482303656e653363b /src
parentf1093af1f66d670dbd3302a819e035feb0fe7b2a (diff)
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 <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56280 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-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();