diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2023-02-02 09:26:20 +0800 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-02-06 12:28:06 +0000 |
commit | 4044e859388fcdb05436138911fad1ada6cf2d32 (patch) | |
tree | 48fbd53a1134dc2fbff9d0d917cb3e66fcb6dd6a /util/amdfwtool/amdfwtool.c | |
parent | ba74a036d07d557c941a3f69f6e354c9da874a30 (diff) |
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/amdfwtool/amdfwtool.c')
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |