]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: board: rk3288: remove board_boot_order()
authorKever Yang <kever.yang@rock-chips.com>
Tue, 9 Jul 2019 13:58:55 +0000 (21:58 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 20 Jul 2019 15:59:44 +0000 (23:59 +0800)
Prefer to use dts config instead, remove all board_boot_order()
for rk3288 boards.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
board/amarula/vyasa-rk3288/vyasa-rk3288.c
board/chipspark/popmetal_rk3288/popmetal-rk3288.c
board/mqmaker/miqi_rk3288/miqi-rk3288.c
board/rockchip/evb_rk3288/evb-rk3288.c
board/rockchip/fennec_rk3288/fennec-rk3288.c

index 2b509f529f18abe0dc7fcd35d3b31e6721261376..baf197c48515fa1d0949fa53dd3c5f8ac909d4f5 100644 (file)
@@ -6,14 +6,6 @@
 #include <common.h>
 
 #ifndef CONFIG_TPL_BUILD
-#include <spl.h>
-
-void board_boot_order(u32 *spl_boot_list)
-{
-       /* eMMC prior to sdcard. */
-       spl_boot_list[0] = BOOT_DEVICE_MMC2;
-       spl_boot_list[1] = BOOT_DEVICE_MMC1;
-}
 
 int spl_start_uboot(void)
 {
index 355c78b7b73949ec3b3869af58d939e383e0149c..9ba1fbd0e274030bd96d197d554c0ed82288df57 100644 (file)
@@ -4,16 +4,8 @@
  */
 
 #include <common.h>
-#include <spl.h>
 #include <asm/gpio.h>
 
-void board_boot_order(u32 *spl_boot_list)
-{
-       /* eMMC prior to sdcard */
-       spl_boot_list[0] = BOOT_DEVICE_MMC2;
-       spl_boot_list[1] = BOOT_DEVICE_MMC1;
-}
-
 #define GPIO7A3_HUB_RST        227
 
 int rk_board_late_init(void)
index d6992a26caf4dd7c15f09b4d7c6432e4109832c6..779bc646b2abab7069c3c1b0611fc564fc39b2f4 100644 (file)
@@ -3,12 +3,3 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
-#include <spl.h>
-
-void board_boot_order(u32 *spl_boot_list)
-{
-       /* eMMC prior to sdcard. */
-       spl_boot_list[0] = BOOT_DEVICE_MMC2;
-       spl_boot_list[1] = BOOT_DEVICE_MMC1;
-}
index d6992a26caf4dd7c15f09b4d7c6432e4109832c6..779bc646b2abab7069c3c1b0611fc564fc39b2f4 100644 (file)
@@ -3,12 +3,3 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
-#include <spl.h>
-
-void board_boot_order(u32 *spl_boot_list)
-{
-       /* eMMC prior to sdcard. */
-       spl_boot_list[0] = BOOT_DEVICE_MMC2;
-       spl_boot_list[1] = BOOT_DEVICE_MMC1;
-}
index ce455449dd7b9f87cac4314b70c407963581a97f..779bc646b2abab7069c3c1b0611fc564fc39b2f4 100644 (file)
@@ -3,12 +3,3 @@
  * (C) Copyright 2016 Rockchip Electronics Co., Ltd
  */
 
-#include <common.h>
-#include <spl.h>
-
-void board_boot_order(u32 *spl_boot_list)
-{
-       /* eMMC prior to sdcard */
-       spl_boot_list[0] = BOOT_DEVICE_MMC2;
-       spl_boot_list[1] = BOOT_DEVICE_MMC1;
-}