diff mbox series

[U-Boot,v2] arm: mvebu: clearfog: add u-boot, dm-spl tag for spi

Message ID 281a999f2996e639d0e420f625e7546992a38ae2.1529573749.git.baruch@tkos.co.il
State Accepted
Commit 14deee2081cca5e41e14883c6006e2e74b165cd7
Delegated to: Stefan Roese
Headers show
Series [U-Boot,v2] arm: mvebu: clearfog: add u-boot, dm-spl tag for spi | expand

Commit Message

Baruch Siach June 21, 2018, 9:35 a.m. UTC
From: Jon Nettleton <jon@solid-run.com>

This is required so SPL and u-boot can boot from spi
flash devices that use the dm drivers.

Signed-off-by: Jon Nettleton <jon@solid-run.com>
[baruch: use -u-boot.dtsi]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2: Add u-boot,dm-spl in .dtsi (Stefan Roese)
---
 arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 arch/arm/dts/armada-388-clearfog-u-boot.dtsi

Comments

Stefan Roese June 21, 2018, 9:38 a.m. UTC | #1
On 21.06.2018 11:35, Baruch Siach wrote:
> From: Jon Nettleton <jon@solid-run.com>
> 
> This is required so SPL and u-boot can boot from spi
> flash devices that use the dm drivers.
> 
> Signed-off-by: Jon Nettleton <jon@solid-run.com>
> [baruch: use -u-boot.dtsi]
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: Add u-boot,dm-spl in .dtsi (Stefan Roese)
> ---
>   arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 9 +++++++++
>   1 file changed, 9 insertions(+)
>   create mode 100644 arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> 
> diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> new file mode 100644
> index 000000000000..f31691ee9491
> --- /dev/null
> +++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> @@ -0,0 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +
> +&spi1 {
> +	u-boot,dm-spl;
> +
> +	spi-flash@0 {
> +		u-boot,dm-spl;
> +	};
> +};
> 

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan
diff mbox series

Patch

diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
new file mode 100644
index 000000000000..f31691ee9491
--- /dev/null
+++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
@@ -0,0 +1,9 @@ 
+// SPDX-License-Identifier: GPL-2.0+
+
+&spi1 {
+	u-boot,dm-spl;
+
+	spi-flash@0 {
+		u-boot,dm-spl;
+	};
+};