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

Baruch Siach baruch at tkos.co.il
Thu Jun 21 09:35:49 UTC 2018


From: Jon Nettleton <jon at 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 at solid-run.com>
[baruch: use -u-boot.dtsi]
Signed-off-by: Baruch Siach <baruch at 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 at 0 {
+		u-boot,dm-spl;
+	};
+};
-- 
2.17.1



More information about the U-Boot mailing list