From: Peng Fan <[email protected]>

Support the clk scmi driver probe in pre-reloc stage.

Signed-off-by: Peng Fan <[email protected]>
Signed-off-by: Alice Guo <[email protected]>
Reviewed-by: Ye Li <[email protected]>
---
 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

Reply via email to