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

Baruch Siach baruch at tkos.co.il
Thu Jun 21 09:03:56 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>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 arch/arm/dts/armada-388-clearfog.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/armada-388-clearfog.dts b/arch/arm/dts/armada-388-clearfog.dts
index a0b566a5ae0e..b219441d84be 100644
--- a/arch/arm/dts/armada-388-clearfog.dts
+++ b/arch/arm/dts/armada-388-clearfog.dts
@@ -342,6 +342,7 @@
 				pinctrl-0 = <&spi1_pins &clearfog_spi1_cs_pins &mikro_spi_pins>;
 				pinctrl-names = "default";
 				status = "okay";
+				u-boot,dm-spl;
 
 				spi-flash at 0 {
 					#address-cells = <1>;
@@ -349,6 +350,7 @@
 					compatible = "w25q32", "jedec,spi-nor", "spi-flash";
 					reg = <0>; /* Chip select 0 */
 					spi-max-frequency = <3000000>;
+					u-boot,dm-spl;
 				};
 			};
 
-- 
2.17.1



More information about the U-Boot mailing list