]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: dts: rk3328: rock64: Add same-as-spl order
authorEmmanuel Vadot <manu@freebsd.org>
Tue, 8 Oct 2019 17:59:50 +0000 (19:59 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 10 Nov 2019 12:40:20 +0000 (20:40 +0800)
rk3328 can use same-as-spl option so next loaders are loaded from the same
medium.
Add the boot order in the rock64 dts otherwise booting from sdcard
will result in u-boot looking into the eMMC.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3328-rock64-u-boot.dtsi

index 1d441f7124f4ad7c9cb685b9895ef5258079bced..e5946d2d2dc7c487077331f21380bdc54127139f 100644 (file)
@@ -5,6 +5,11 @@
 
 #include "rk3328-u-boot.dtsi"
 #include "rk3328-sdram-lpddr3-1600.dtsi"
+/ {
+       chosen {
+               u-boot,spl-boot-order = "same-as-spl", &sdmmc, &emmc;
+       };
+};
 
 &usb_host0_xhci {
        status = "okay";