rockchip: board: rk3288: remove board_boot_order()
Prefer to use dts config instead, remove all board_boot_order() for rk3288 boards. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
b39ab7f1e1
commit
35dfc0496d
|
@ -6,14 +6,6 @@
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
|
|
||||||
#ifndef CONFIG_TPL_BUILD
|
#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)
|
int spl_start_uboot(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,16 +4,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <spl.h>
|
|
||||||
#include <asm/gpio.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
|
#define GPIO7A3_HUB_RST 227
|
||||||
|
|
||||||
int rk_board_late_init(void)
|
int rk_board_late_init(void)
|
||||||
|
|
|
@ -3,12 +3,3 @@
|
||||||
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
|
* (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;
|
|
||||||
}
|
|
||||||
|
|
|
@ -3,12 +3,3 @@
|
||||||
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
|
* (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;
|
|
||||||
}
|
|
||||||
|
|
|
@ -3,12 +3,3 @@
|
||||||
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
|
* (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;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue