Files
system76-coreboot/src/soc/amd/cezanne/mca.c
Felix Held e84c3f1898 soc/amd/*/mca: factor out common MCA/MCAX check & print functionality
For Cezanne stubs are added for the functions that the SoC-specific code
needs to provide. Since the mca_is_valid_bank stub on Cezanne always
returns false, the checks get skipped for it at the moment. The actual
functionality will be added in a later patch.

Change-Id: Ic31e9b1ca7f8fac0721c95935c79150d7f774aa4
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56290
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
2021-07-15 17:03:30 +00:00

20 lines
277 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#include <amdblocks/mca.h>
#include <types.h>
bool mca_has_expected_bank_count(void)
{
return true;
}
bool mca_is_valid_bank(unsigned int bank)
{
return false;
}
const char *mca_get_bank_name(unsigned int bank)
{
return "";
}