[PATCH 3/4] clk: scmi: support probe in pre-reloc stage

alice.guo at oss.nxp.com alice.guo at oss.nxp.com
Sun Oct 6 11:38:24 CEST 2024


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

Support the clk scmi 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/clk/clk_scmi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk_scmi.c b/drivers/clk/clk_scmi.c
index 84333cdd0c..a01292c479 100644
--- a/drivers/clk/clk_scmi.c
+++ b/drivers/clk/clk_scmi.c
@@ -210,4 +210,5 @@ U_BOOT_DRIVER(scmi_clock) = {
 	.id = UCLASS_CLK,
 	.ops = &scmi_clk_ops,
 	.probe = scmi_clk_probe,
+	.flags = DM_FLAG_PRE_RELOC,
 };
-- 
2.34.1



More information about the U-Boot mailing list