From 4044e859388fcdb05436138911fad1ada6cf2d32 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 2 Feb 2023 09:26:20 +0800 Subject: amdfwtool: Add phoenix and glinda in get_psp_fw_type Change-Id: If80cc5396703cef41cc615008c9f0dac0b7bbb09 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/72717 Tested-by: build bot (Jenkins) Reviewed-by: Kangheui Won --- util/amdfwtool/amdfwtool.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util/amdfwtool/amdfwtool.c') diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index f4fd6eeca4..1703cf7138 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; -- cgit v1.2.3