]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288: dts: enable spl-boot-order
authorKever Yang <kever.yang@rock-chips.com>
Tue, 9 Jul 2019 13:58:54 +0000 (21:58 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
We share the same default SPL boot order for all rk3288 boards,
use dts instead of hard code in board file.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3288-u-boot.dtsi
arch/arm/mach-rockchip/Makefile

index 4cf75c75044f4d4d2e29d4faa34c95da10c59d2f..3f00a3b6d353c6b5fa44f8ee87f7bc21581a7ccf 100644 (file)
@@ -3,6 +3,13 @@
  * Copyright (C) 2019 Rockchip Electronics Co., Ltd
  */
 
+/ {
+       chosen {
+               u-boot,spl-boot-order = \
+                       "same-as-spl", &emmc, &sdmmc;
+       };
+};
+
 &dmc {
        u-boot,dm-pre-reloc;
 };
index 23760a959aed0e81d9e8617059cffd2ff050e8a0..0c169e9234166f58b49071d5fd6fa997c736ec05 100644 (file)
@@ -17,7 +17,7 @@ obj-tpl-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-tpl.o
 obj-spl-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
 obj-spl-$(CONFIG_ROCKCHIP_RK3188) += rk3188-board-spl.o
 obj-spl-$(CONFIG_ROCKCHIP_RK322X) += rk322x-board-spl.o spl-boot-order.o
-obj-spl-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
+obj-spl-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o spl-boot-order.o
 obj-spl-$(CONFIG_ROCKCHIP_RK3328) += rk3328-board-spl.o
 obj-spl-$(CONFIG_ROCKCHIP_RK3368) += rk3368-board-spl.o spl-boot-order.o
 obj-spl-$(CONFIG_ROCKCHIP_RK3399) += rk3399-board-spl.o spl-boot-order.o