[U-Boot] [PATCH] db410c: set clk node to be probed before relocation

Peter Robinson pbrobinson at gmail.com
Wed Apr 18 08:15:16 UTC 2018


On Tue, Apr 17, 2018 at 1:01 PM, Ramon Fried <ramon.fried at linaro.org> wrote:
> The clock node is used by the serial driver and it's needed
> before relocation.
> This patch ensures that the msm-serial driver can actually
> use the clock node.
>
> Signed-off-by: Ramon Fried <ramon.fried at linaro.org>
> ---
>  arch/arm/dts/dragonboard410c.dts | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/dts/dragonboard410c.dts b/arch/arm/dts/dragonboard410c.dts
> index 5ccfe7f8c8..f37ef5d523 100644
> --- a/arch/arm/dts/dragonboard410c.dts
> +++ b/arch/arm/dts/dragonboard410c.dts
> @@ -38,12 +38,14 @@
>                 #size-cells = <0x1>;
>                 ranges = <0x0 0x0 0x0 0xffffffff>;
>                 compatible = "simple-bus";
> +               u-boot,dm-pre-reloc;

u-boot specific DT bits should be put in a u-boot.dts[i] file, see in
arch/arm/dts/ for other examples, it makes syncing DT changes from the
linux kernel more straight forward.

>                 clkc: qcom,gcc at 1800000 {
>                         compatible = "qcom,gcc-apq8016";
>                         reg = <0x1800000 0x80000>;
>                         #address-cells = <0x1>;
>                         #size-cells = <0x0>;
> +                       u-boot,dm-pre-reloc;
>                 };
>
>                 serial at 78b0000 {
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot


More information about the U-Boot mailing list