[PATCH 1/2] cmd: scmi: Show names for vendor protocols 0x80 and 0x82

Michal Simek <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <9ca09685b22f3d2a93a63ebb7b29ab150b07eda5.1785326564.git.michal.simek@amd.com>
The generic SCMI vendor protocol IDs (0x80, 0x82) were listed by
"scmi info" as <NULL>. Add human readable names so the
vendor protocols are easier to identify.

Signed-off-by: Michal Simek <[email protected]>
---

 cmd/scmi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmd/scmi.c b/cmd/scmi.c
index d0498b816aaa..af9743145835 100644
--- a/cmd/scmi.c
+++ b/cmd/scmi.c
@@ -30,6 +30,8 @@ struct {
 	{SCMI_PROTOCOL_ID_RESET_DOMAIN, "Reset domain management"},
 	{SCMI_PROTOCOL_ID_VOLTAGE_DOMAIN, "Voltage domain management"},
 	{SCMI_PROTOCOL_ID_PINCTRL, "Pin control management"},
+	{SCMI_PROTOCOL_ID_VENDOR_80, "Vendor specific (0x80)"},
+	{SCMI_PROTOCOL_ID_VENDOR_82, "Vendor specific (0x82)"},
 };
 
 /**
---
base-commit: 264994658ecab72cc292f8ce433469b01f170e5c
branch: debian-sent3

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.