[PATCH 2/3] clk: mpfs_clk: Enable DM_FLAG_PRE_RELOC flag

Bin Meng bmeng.cn at gmail.com
Wed Mar 31 09:24:49 CEST 2021


This driver is needed in the pre-relocation phase as the serial
driver depends on it.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 drivers/clk/microchip/mpfs_clk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/microchip/mpfs_clk.c b/drivers/clk/microchip/mpfs_clk.c
index 722c79b7c0..05d7647206 100644
--- a/drivers/clk/microchip/mpfs_clk.c
+++ b/drivers/clk/microchip/mpfs_clk.c
@@ -120,4 +120,5 @@ U_BOOT_DRIVER(mpfs_clk) = {
 	.ops = &mpfs_clk_ops,
 	.probe = mpfs_clk_probe,
 	.priv_auto = sizeof(struct clk),
+	.flags = DM_FLAG_PRE_RELOC,
 };
-- 
2.25.1



More information about the U-Boot mailing list