[PATCH 1/2] arm: mvebu: armada-370-xp.dtsi: add u-boot,dm-pre-reloc to spi0

Chris Packham judge.packham at gmail.com
Mon May 4 10:04:53 CEST 2020


On Mon, 4 May 2020, 8:00 AM Ezra Buehler, <ezra at easyb.ch> wrote:

> Without this U-Boot-specific property, the Synology DS414/DS214+ fails
> in SPL. As the spi0 node was not scanned the SPI flash cannot be found.
>
> Signed-off-by: Ezra Buehler <ezra at easyb.ch>
> ---
>  arch/arm/dts/armada-370-xp.dtsi | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/dts/armada-370-xp.dtsi
> b/arch/arm/dts/armada-370-xp.dtsi
> index 50fc0be9f7..21c38cf3f3 100644
> --- a/arch/arm/dts/armada-370-xp.dtsi
> +++ b/arch/arm/dts/armada-370-xp.dtsi
> @@ -284,6 +284,7 @@
>                         interrupts = <30>;
>                         clocks = <&coreclk 0>;
>                         status = "disabled";
> +                       u-boot,dm-pre-reloc;
>                 };
>
>                 spi1: spi at 10680 {
> --
>

I think this would be better in the specific board dts files. Not every
platform will want this in spl.

>


More information about the U-Boot mailing list