mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
1e84e44cfe
RK3288 Vyasa has eMMC boot support, with JP4 open. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
27 lines
485 B
C
27 lines
485 B
C
/*
|
|
* Copyright (C) 2017 Amarula Solutions
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#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)
|
|
{
|
|
/* break into full u-boot on 'c' */
|
|
if (serial_tstc() && serial_getc() == 'c')
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
#endif
|