]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: fixed-rate: Enable DM_FLAG_PRE_RELOC flag
authorMichal Simek <michal.simek@xilinx.com>
Wed, 16 Sep 2020 11:20:55 +0000 (13:20 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 12:29:58 +0000 (14:29 +0200)
fixed-rate driver is not different from clk_fixed_factor and it is required
very early in boot that's why setup flag for it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/clk/clk_fixed_rate.c

index 2c20eddb0b5c6164f3d430cb2a8cca39eb4fe24e..55e1f8caa520fb496749ce8d5df047f0eaf789f6 100644 (file)
@@ -53,4 +53,5 @@ U_BOOT_DRIVER(clk_fixed_rate) = {
        .ofdata_to_platdata = clk_fixed_rate_ofdata_to_platdata,
        .platdata_auto_alloc_size = sizeof(struct clk_fixed_rate),
        .ops = &clk_fixed_rate_ops,
+       .flags = DM_FLAG_PRE_RELOC,
 };