summaryrefslogtreecommitdiff
path: root/util/amdfwtool/data_parse.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-07-13 11:40:08 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-21 12:11:57 +0000
commit563f7afa0481bfe0d194467b80404eb32e8a4d44 (patch)
treeb064b77c39283fd4b6bba68fc4ae8c3dc0a5ec74 /util/amdfwtool/data_parse.c
parent6603605d75bb2750baa1047ea9dbb9f4fdbb2197 (diff)
util/amdfwtool: Add Genoa support
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: I83e3c383faec0fd7b2cf768b7a4c237edd986666 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76469 Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'util/amdfwtool/data_parse.c')
-rw-r--r--util/amdfwtool/data_parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/amdfwtool/data_parse.c b/util/amdfwtool/data_parse.c
index 9adaa5db5a..64cae54a6c 100644
--- a/util/amdfwtool/data_parse.c
+++ b/util/amdfwtool/data_parse.c
@@ -115,6 +115,8 @@ static enum platform identify_platform(char *soc_name)
return PLATFORM_PHOENIX;
else if (!strcasecmp(soc_name, "Glinda"))
return PLATFORM_GLINDA;
+ else if (!strcasecmp(soc_name, "Genoa"))
+ return PLATFORM_GENOA;
else
return PLATFORM_UNKNOWN;
}
@@ -733,6 +735,7 @@ static bool is_second_gen(enum platform platform_type)
case PLATFORM_MENDOCINO:
case PLATFORM_PHOENIX:
case PLATFORM_GLINDA:
+ case PLATFORM_GENOA:
return true;
case PLATFORM_UNKNOWN:
default: