[U-Boot] [PATCH 1/2] arm: dts: rock960: Enable booting from eMMC when using SPL

Manivannan Sadhasivam manivannan.sadhasivam at linaro.org
Mon May 20 15:46:55 UTC 2019


This commits enables booting from eMMC when using SPL on 96Boards
Rock960 board by adding SDHCI to boot order. Since the SDHCI driver
already has the reloc flag, this works straightaway.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
---
 arch/arm/dts/rk3399-rock960-u-boot.dtsi | 1 +
 arch/arm/dts/rk3399-rock960.dts         | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
index 5256f6d3f2..7fb5072a9b 100644
--- a/arch/arm/dts/rk3399-rock960-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi
@@ -3,4 +3,5 @@
  * Copyright (C) 2019 Jagan Teki <jagan at amarulasolutions.com>
  */
 
+#include "rk3399-u-boot.dtsi"
 #include "rk3399-sdram-lpddr3-2GB-1600.dtsi"
diff --git a/arch/arm/dts/rk3399-rock960.dts b/arch/arm/dts/rk3399-rock960.dts
index 7e06bc97e5..c8b9075c73 100644
--- a/arch/arm/dts/rk3399-rock960.dts
+++ b/arch/arm/dts/rk3399-rock960.dts
@@ -12,6 +12,8 @@
 
 	chosen {
 		stdout-path = "serial2:1500000n8";
+		u-boot,spl-boot-order = \
+			&sdhci, &sdmmc;
 	};
 };
 
-- 
2.17.1



More information about the U-Boot mailing list