[U-Boot] [PATCH] rockchp: dts: rk3399-evb: support boot from sd-card

Kever Yang kever.yang at rock-chips.com
Wed Dec 20 02:40:40 UTC 2017


Enable sdmmc node in SPL and add it to boot order.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 arch/arm/dts/rk3399-evb.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts
index 0e5d8d7..f0567c9 100644
--- a/arch/arm/dts/rk3399-evb.dts
+++ b/arch/arm/dts/rk3399-evb.dts
@@ -17,6 +17,8 @@
 
 	chosen {
 		stdout-path = &uart2;
+		u-boot,spl-boot-order = \
+			&sdhci, &sdmmc;
 	};
 
 	vdd_center: vdd-center {
@@ -154,6 +156,7 @@
 };
 
 &sdmmc {
+	u-boot,dm-pre-reloc;
 	bus-width = <4>;
 	status = "okay";
 };
-- 
1.9.1



More information about the U-Boot mailing list