summaryrefslogtreecommitdiff
path: root/board/amarula/vyasa-rk3288/vyasa-rk3288.c
diff options
context:
space:
mode:
authorJagan Teki <jagannadh.teki@gmail.com>2018-02-14 21:26:22 +0530
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2018-03-13 18:12:36 +0100
commit1e84e44cfec952006f30c42bbab5d7e170776549 (patch)
tree4994f7bc169ff5f0d7d3440f7cb795c6a2fde2af /board/amarula/vyasa-rk3288/vyasa-rk3288.c
parent159916f4e880c1a738a595686c36791a605e5657 (diff)
downloadu-boot-1e84e44cfec952006f30c42bbab5d7e170776549.tar.gz
rk3288: vyasa: Add eMMC boot support
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>
Diffstat (limited to 'board/amarula/vyasa-rk3288/vyasa-rk3288.c')
-rw-r--r--board/amarula/vyasa-rk3288/vyasa-rk3288.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/amarula/vyasa-rk3288/vyasa-rk3288.c b/board/amarula/vyasa-rk3288/vyasa-rk3288.c
index 7985671fbd..82f8c4e5b7 100644
--- a/board/amarula/vyasa-rk3288/vyasa-rk3288.c
+++ b/board/amarula/vyasa-rk3288/vyasa-rk3288.c
@@ -9,6 +9,13 @@
#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' */