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>
This commit is contained in:
parent
65deb24a8e
commit
f1093af1f6
|
@ -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>
|
||||
|
|
|
@ -5,6 +5,4 @@
|
|||
|
||||
#define CEZANNE_A0_CPUID 0x00a50f00
|
||||
|
||||
void check_mca(void);
|
||||
|
||||
#endif /* AMD_CEZANNE_CPU_H */
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef AMD_BLOCK_MCA_H
|
||||
#define AMD_BLOCK_MCA_H
|
||||
|
||||
void check_mca(void);
|
||||
|
||||
#endif /* AMD_BLOCK_MCA_H */
|
|
@ -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>
|
||||
|
|
|
@ -3,8 +3,6 @@
|
|||
#ifndef AMD_PICASSO_CPU_H
|
||||
#define AMD_PICASSO_CPU_H
|
||||
|
||||
void check_mca(void);
|
||||
|
||||
#define RAVEN1_B0_CPUID 0x00810f10
|
||||
#define PICASSO_B0_CPUID 0x00810f80
|
||||
#define PICASSO_B1_CPUID 0x00810f81
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/mca.h>
|
||||
#include <amdblocks/msr_zen.h>
|
||||
#include <amdblocks/reset.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/bert_storage.h>
|
||||
#include <cper.h>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/mca.h>
|
||||
#include <amdblocks/reset.h>
|
||||
#include <amdblocks/smm.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
|
|
|
@ -14,6 +14,4 @@
|
|||
#define SOC_EARLY_VMTRR_CAR_HEAP 2
|
||||
#define SOC_EARLY_VMTRR_TEMPRAM 3
|
||||
|
||||
void check_mca(void);
|
||||
|
||||
#endif /* AMD_STONEYRIDGE_CPU_H */
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <amdblocks/mca.h>
|
||||
#include <amdblocks/reset.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/x86/lapic.h>
|
||||
#include <cpu/x86/msr.h>
|
||||
#include <acpi/acpi.h>
|
||||
#include <soc/cpu.h>
|
||||
#include <console/console.h>
|
||||
#include <arch/bert_storage.h>
|
||||
#include <cper.h>
|
||||
|
|
Loading…
Reference in New Issue