soc/amd/stoneyridge: use index for mca_bank_name initialization
Change-Id: Id640fd8006c47ce1db8a8729407c1c9a9c1e79c3 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/56272 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
e4a6edf599
commit
a0112c12c8
|
@ -136,13 +136,13 @@ failed:
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *const mca_bank_name[] = {
|
static const char *const mca_bank_name[] = {
|
||||||
"Load-store unit",
|
[0] = "Load-store unit",
|
||||||
"Instruction fetch unit",
|
[1] = "Instruction fetch unit",
|
||||||
"Combined unit",
|
[2] = "Combined unit",
|
||||||
"Reserved",
|
[3] = "Reserved",
|
||||||
"Northbridge",
|
[4] = "Northbridge",
|
||||||
"Execution unit",
|
[5] = "Execution unit",
|
||||||
"Floating point unit"
|
[6] = "Floating point unit"
|
||||||
};
|
};
|
||||||
|
|
||||||
static void mca_print_error(unsigned int bank)
|
static void mca_print_error(unsigned int bank)
|
||||||
|
|
Loading…
Reference in New Issue