]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rock960: Enable booting from eMMC when using SPL
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Mon, 29 Jul 2019 13:52:27 +0000 (19:22 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 5 Aug 2019 13:14:04 +0000 (21:14 +0800)
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. While we are at it,
let's also include the common u-boot dtsi for rk3399.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3399-rock960-u-boot.dtsi

index 5256f6d3f2410cdb81eda22e1dfb8b03564b804a..4850debdf0b0717af8f79ce7273d4cee4a33063c 100644 (file)
@@ -3,4 +3,11 @@
  * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
  */
 
+#include "rk3399-u-boot.dtsi"
 #include "rk3399-sdram-lpddr3-2GB-1600.dtsi"
+
+/ {
+       chosen {
+               u-boot,spl-boot-order = &sdhci, &sdmmc;
+       };
+};