]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
rockchip: dts: rk3399-evb: support boot from sd-card
authorKever Yang <kever.yang@rock-chips.com>
Wed, 20 Dec 2017 02:40:40 +0000 (10:40 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 1 Jan 2018 13:45:37 +0000 (14:45 +0100)
Enable sdmmc node in SPL and add it to boot order.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[Fixed commit tags:]
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/dts/rk3399-evb.dts

index 0e5d8d79a19fa53d4c9c3d3d5a086528332d1a4b..f0567c9c2a26983ff8ebb1668894dd2df8b80b97 100644 (file)
@@ -17,6 +17,8 @@
 
        chosen {
                stdout-path = &uart2;
+               u-boot,spl-boot-order = \
+                       &sdhci, &sdmmc;
        };
 
        vdd_center: vdd-center {
 };
 
 &sdmmc {
+       u-boot,dm-pre-reloc;
        bus-width = <4>;
        status = "okay";
 };