[PATCH 08/17] scmi_protocols: update struct scmi_base_discover_list_protocols_out

Alice Guo alice.guo at oss.nxp.com
Wed Oct 16 09:18:01 CEST 2024


From: Ye Li <ye.li at nxp.com>

@protocols is an array of protocol identifiers that are implemented,
excluding the Base protocol. The number of elements of @protocols is
specified by callee-side. Currently, set it to 4 is enough for i.MX95.

Signed-off-by: Ye Li <ye.li at nxp.com>
Signed-off-by: Alice Guo <alice.guo at nxp.com>
---
 include/scmi_protocols.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/scmi_protocols.h b/include/scmi_protocols.h
index 8a5830d582d8baf4b4781ab860f09f49d335a023..b3ca85e1697dced50f9d42600255044fa9fa4aab 100644
--- a/include/scmi_protocols.h
+++ b/include/scmi_protocols.h
@@ -145,7 +145,7 @@ struct scmi_base_discover_impl_version_out {
 struct scmi_base_discover_list_protocols_out {
 	s32 status;
 	u32 num_protocols;
-	u32 protocols[3];
+	u32 protocols[4];
 };
 
 /**

-- 
2.34.1



More information about the U-Boot mailing list