diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-07-13 23:00:26 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-07-14 21:58:59 +0000 |
commit | f1093af1f66d670dbd3302a819e035feb0fe7b2a (patch) | |
tree | 587ba47e0b032d0547e35cf44eee9b382a4a1959 /src/soc/amd/cezanne | |
parent | 65deb24a8e908825789d74950bcdaf4637697929 (diff) |
soc/amd: move check_mca prototype to soc/amd/common/blocks/include
Change-Id: Ia489dbfba59c334cf29f96a4000cef73b9b797d4
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56279
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/cezanne')
-rw-r--r-- | src/soc/amd/cezanne/cpu.c | 1 | ||||
-rw-r--r-- | src/soc/amd/cezanne/include/soc/cpu.h | 2 | ||||
-rw-r--r-- | src/soc/amd/cezanne/mca.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/amd/cezanne/cpu.c b/src/soc/amd/cezanne/cpu.c index 5f0a5a1a2a..2ac30b6b9f 100644 --- a/src/soc/amd/cezanne/cpu.c +++ b/src/soc/amd/cezanne/cpu.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <amdblocks/cpu.h> +#include <amdblocks/mca.h> #include <amdblocks/reset.h> #include <amdblocks/smm.h> #include <assert.h> diff --git a/src/soc/amd/cezanne/include/soc/cpu.h b/src/soc/amd/cezanne/include/soc/cpu.h index ec83349a11..27647adbd1 100644 --- a/src/soc/amd/cezanne/include/soc/cpu.h +++ b/src/soc/amd/cezanne/include/soc/cpu.h @@ -5,6 +5,4 @@ #define CEZANNE_A0_CPUID 0x00a50f00 -void check_mca(void); - #endif /* AMD_CEZANNE_CPU_H */ diff --git a/src/soc/amd/cezanne/mca.c b/src/soc/amd/cezanne/mca.c index 7160256539..24a77887df 100644 --- a/src/soc/amd/cezanne/mca.c +++ b/src/soc/amd/cezanne/mca.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <amdblocks/mca.h> #include <cpu/x86/msr.h> -#include <soc/cpu.h> /* Check the Machine Check Architecture Extension registers */ void check_mca(void) |