[PATCH v1] firmware: scmi: mailbox: support probe in pre-reloc stage

alice.guo at oss.nxp.com alice.guo at oss.nxp.com
Sun Oct 6 11:48:15 CEST 2024


From: Peng Fan <peng.fan at nxp.com>

Support the mailbox agent driver probe in pre-reloc stage.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
Signed-off-by: Alice Guo <alice.guo at nxp.com>
Reviewed-by: Ye Li <ye.li at nxp.com>
---
 drivers/firmware/scmi/mailbox_agent.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/scmi/mailbox_agent.c b/drivers/firmware/scmi/mailbox_agent.c
index 6d4497f4b9..b024b1d32b 100644
--- a/drivers/firmware/scmi/mailbox_agent.c
+++ b/drivers/firmware/scmi/mailbox_agent.c
@@ -147,4 +147,5 @@ U_BOOT_DRIVER(scmi_mbox) = {
 	.plat_auto	= sizeof(struct scmi_mbox_channel),
 	.of_to_plat	= scmi_mbox_of_to_plat,
 	.ops		= &scmi_mbox_ops,
+	.flags		= DM_FLAG_PRE_RELOC,
 };
-- 
2.34.1



More information about the U-Boot mailing list