summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2023-02-02 09:26:20 +0800
committerFelix Held <felix-coreboot@felixheld.de>2023-02-06 12:28:06 +0000
commit4044e859388fcdb05436138911fad1ada6cf2d32 (patch)
tree48fbd53a1134dc2fbff9d0d917cb3e66fcb6dd6a /util
parentba74a036d07d557c941a3f69f6e354c9da874a30 (diff)
downloadcoreboot-4044e859388fcdb05436138911fad1ada6cf2d32.tar.gz
coreboot-4044e859388fcdb05436138911fad1ada6cf2d32.tar.bz2
coreboot-4044e859388fcdb05436138911fad1ada6cf2d32.zip
amdfwtool: Add phoenix and glinda in get_psp_fw_type
Change-Id: If80cc5396703cef41cc615008c9f0dac0b7bbb09 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/72717 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kangheui Won <khwon@chromium.org>
Diffstat (limited to 'util')
-rw-r--r--util/amdfwtool/amdfwtool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index f4fd6eeca465..1703cf71388c 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -762,6 +762,8 @@ static uint16_t get_psp_fw_type(enum platform soc_id, struct amd_fw_header *head
{
switch (soc_id) {
case PLATFORM_MENDOCINO:
+ case PLATFORM_PHOENIX:
+ case PLATFORM_GLINDA:
/* Fallback to fw_type if fw_id is not populated, which serves the same
purpose on older SoCs. */
return header->fw_id ? header->fw_id : header->fw_type;