[SWDEV-529665] PLDM Bundle naming

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Change-Id: Id7f652ddc4e790027869683a4aaa3226ffc05c83
This commit is contained in:
Maisam Arif
2025-06-12 02:18:55 -05:00
committed by Arif, Maisam
parent 5763412f7d
commit 6da33b8ded
12 changed files with 33 additions and 31 deletions
+2 -2
View File
@@ -191,7 +191,7 @@ class AmdSmiFwBlock(IntEnum):
AMDSMI_FW_ID_RLC_SRLS = amdsmi_wrapper.AMDSMI_FW_ID_RLC_SRLS
AMDSMI_FW_ID_PM = amdsmi_wrapper.AMDSMI_FW_ID_PM
AMDSMI_FW_ID_DMCU = amdsmi_wrapper.AMDSMI_FW_ID_DMCU
AMDSMI_FW_ID_PLDM = amdsmi_wrapper.AMDSMI_FW_ID_PLDM
AMDSMI_FW_ID_PLDM_BUNDLE = amdsmi_wrapper.AMDSMI_FW_ID_PLDM_BUNDLE
class AmdSmiClkType(IntEnum):
@@ -2808,7 +2808,7 @@ def amdsmi_get_fw_info(
# However, they are parsed as: int(0x12).int(0x34).int(0x56).int(0x78)
# Which results in the following: 12.34.56.78
dec_format_fw = [AmdSmiFwBlock.AMDSMI_FW_ID_PM,
AmdSmiFwBlock.AMDSMI_FW_ID_PLDM]
AmdSmiFwBlock.AMDSMI_FW_ID_PLDM_BUNDLE]
firmwares = []
for i in range(0, fw_info.num_fw_info):
+10 -9
View File
@@ -584,7 +584,7 @@ amdsmi_fw_block_t__enumvalues = {
76: 'AMDSMI_FW_ID_RLC_SRLS',
77: 'AMDSMI_FW_ID_PM',
78: 'AMDSMI_FW_ID_DMCU',
79: 'AMDSMI_FW_ID_PLDM',
79: 'AMDSMI_FW_ID_PLDM_BUNDLE',
80: 'AMDSMI_FW_ID__MAX',
}
AMDSMI_FW_ID_SMU = 1
@@ -666,7 +666,7 @@ AMDSMI_FW_ID_RLC_SRLG = 75
AMDSMI_FW_ID_RLC_SRLS = 76
AMDSMI_FW_ID_PM = 77
AMDSMI_FW_ID_DMCU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