summaryrefslogtreecommitdiffstats
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFred Reitberger <reitbergerfred@gmail.com>2022-10-21 14:33:12 -0400
committerMartin L Roth <gaumless@gmail.com>2022-10-22 22:30:09 +0000
commitc6d7fca0cc3f8f7120586d6c16a68a2fcdc435ae (patch)
tree4b70e0fe2d58465b0d6f8d07d16d4f6ea15e0741 /src/soc/amd
parent44cc1b9cac00861ba008db1ea824960c35411599 (diff)
downloadcoreboot-c6d7fca0cc3f8f7120586d6c16a68a2fcdc435ae.tar.gz
coreboot-c6d7fca0cc3f8f7120586d6c16a68a2fcdc435ae.tar.bz2
coreboot-c6d7fca0cc3f8f7120586d6c16a68a2fcdc435ae.zip
soc/amd/morgana/mca: Update for morgana
Update the MCA bank names for morgana per PPR #57396, rev 1.52 Signed-off-by: Fred Reitberger <reitbergerfred@gmail.com> Change-Id: If0082bd5362bdead3f9dc693d1e338e8cda224f0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68683 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/morgana/mca.c61
1 files changed, 53 insertions, 8 deletions
diff --git a/src/soc/amd/morgana/mca.c b/src/soc/amd/morgana/mca.c
index c104a33b23a7..63b040b25e13 100644
--- a/src/soc/amd/morgana/mca.c
+++ b/src/soc/amd/morgana/mca.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */
-
#include <amdblocks/mca.h>
#include <cpu/x86/msr.h>
#include <types.h>
@@ -18,12 +16,59 @@ static const char *const mca_bank_name[] = {
[8] = "L3 cache unit",
[9] = "L3 cache unit",
[10] = "L3 cache unit",
- [11] = "UMC",
- [12] = "UMC",
- [13] = "CS",
- [14] = "CS",
- [15] = "NBIO",
- [16] = "PIE",
+ [11] = "L3 cache unit",
+ [12] = "L3 cache unit",
+ [13] = "L3 cache unit",
+ [14] = "L3 cache unit",
+ [15] = "UMC",
+ [16] = "UMC",
+ [17] = "UMC",
+ [18] = "UMC",
+ [19] = "CS",
+ [20] = "CS",
+ [21] = "CS",
+ [22] = "CS",
+ [23] = "",
+ [24] = "",
+ [25] = "NBIO",
+ [26] = "",
+ [27] = "",
+ [28] = "PIE",
+ [29] = "",
+ [30] = "",
+ [31] = "",
+ [32] = "",
+ [33] = "",
+ [34] = "",
+ [35] = "",
+ [36] = "",
+ [37] = "",
+ [38] = "",
+ [39] = "",
+ [40] = "",
+ [41] = "",
+ [42] = "",
+ [43] = "",
+ [44] = "",
+ [45] = "",
+ [46] = "",
+ [47] = "",
+ [48] = "",
+ [49] = "",
+ [50] = "",
+ [51] = "",
+ [52] = "",
+ [53] = "",
+ [54] = "",
+ [55] = "",
+ [56] = "",
+ [57] = "",
+ [58] = "",
+ [59] = "",
+ [60] = "",
+ [61] = "",
+ [62] = "",
+ [63] = "",
};
bool mca_has_expected_bank_count(void)