util/spd_tools: Rename Sabrina to Mendocino

'Mendocino' was an embargoed name and could previously not be used.
Update amdfwtool for consistency with the correct naming convention.

BUG=b:239072117
TEST=Builds

Signed-off-by: Jon Murphy <jpmurphy@google.com>
Change-Id: I404fcf59e89b75cd2488bcb51981aee2eb4ff0df
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66468
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Jon Murphy 2022-08-05 13:59:44 -06:00 committed by Felix Held
parent a920772d29
commit 05208b50c5
2 changed files with 8 additions and 8 deletions

View File

@ -122,7 +122,7 @@ const (
*/ */
LP5SPDValueRevision1_0 = 0x10 LP5SPDValueRevision1_0 = 0x10
/* /*
* Revision 1.1. Expected by Sabrina * Revision 1.1. Expected by Mendocino
*/ */
LP5SPDValueRevision1_1 = 0x11 LP5SPDValueRevision1_1 = 0x11
@ -173,7 +173,7 @@ const (
var LP5PlatformSetMap = map[int][]int{ var LP5PlatformSetMap = map[int][]int{
0: {PlatformMTL, PlatformADL}, 0: {PlatformMTL, PlatformADL},
1: {PlatformSBR}, 1: {PlatformMDN},
} }
var LP5SetInfo = map[int]LP5Set{ var LP5SetInfo = map[int]LP5Set{
@ -214,20 +214,20 @@ var LP5SetInfo = map[int]LP5Set{
SPDRevision: LP5SPDValueRevision1_1, SPDRevision: LP5SPDValueRevision1_1,
getBankArch: LP5GetBankArchSet1, getBankArch: LP5GetBankArchSet1,
/* /*
* For Sabrina (as per advisory b/211510456): * For Mendocino (as per advisory b/211510456):
* 5:4 (Maximum Activate Window) = 01 (4096 * tREFI) * 5:4 (Maximum Activate Window) = 01 (4096 * tREFI)
* 3:0 (Maximum Activate Count) = 1000 (Unlimited MAC) * 3:0 (Maximum Activate Count) = 1000 (Unlimited MAC)
* Set to 0x18. * Set to 0x18.
*/ */
optionalFeatures: 0x18, optionalFeatures: 0x18,
/* /*
* For Sabrina (as per advisory b/211510456): * For Mendocino (as per advisory b/211510456):
* 7:6 (PPR) = 1 (Post Package Repair is supported) * 7:6 (PPR) = 1 (Post Package Repair is supported)
* Set to 0x40. * Set to 0x40.
*/ */
otherOptionalFeatures: 0x40, otherOptionalFeatures: 0x40,
/* /*
* For Sabrina (as per advisory b/211510456): * For Mendocino (as per advisory b/211510456):
* 7:5 (Number of system channels) = 000 (1 channel always) * 7:5 (Number of system channels) = 000 (1 channel always)
* 4:3 (Bus width extension) = 00 (no ECC) * 4:3 (Bus width extension) = 00 (no ECC)
* 2:0 (Bus width) = 010 (x32 always) * 2:0 (Bus width) = 010 (x32 always)
@ -432,7 +432,7 @@ func LP5GetBankArchSet0(memAttribs *LP5MemAttributes) int {
func LP5GetBankArchSet1(memAttribs *LP5MemAttributes) int { func LP5GetBankArchSet1(memAttribs *LP5MemAttributes) int {
/* /*
* Sabrina does not support 8B. It uses 16B Bank Architecture for speed <= 3200 Mbps. * Mendocino does not support 8B. It uses 16B Bank Architecture for speed <= 3200 Mbps.
* It uses BG Bank Architecture for speed > 3200 Mbps. * It uses BG Bank Architecture for speed > 3200 Mbps.
*/ */
if memAttribs.SpeedMbps <= 3200 { if memAttribs.SpeedMbps <= 3200 {

View File

@ -72,7 +72,7 @@ const (
PlatformJSL PlatformJSL
PlatformPCO PlatformPCO
PlatformCZN PlatformCZN
PlatformSBR PlatformMDN
PlatformMTL PlatformMTL
PlatformMax PlatformMax
) )
@ -92,7 +92,7 @@ var platformNames = map[int]string{
PlatformJSL: "JSL", PlatformJSL: "JSL",
PlatformPCO: "PCO", PlatformPCO: "PCO",
PlatformCZN: "CZN", PlatformCZN: "CZN",
PlatformSBR: "SBR", PlatformMDN: "MDN",
PlatformMTL: "MTL", PlatformMTL: "MTL",
} }