]> git.sur5r.net Git - u-boot/blob - board/amarula/vyasa-rk3288/vyasa-rk3288.c
Merge git://git.denx.de/u-boot-rockchip
[u-boot] / board / amarula / vyasa-rk3288 / vyasa-rk3288.c
1 /*
2  * Copyright (C) 2017 Amarula Solutions
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <common.h>
8
9 #ifndef CONFIG_TPL_BUILD
10 #include <spl.h>
11
12 int spl_start_uboot(void)
13 {
14         /* break into full u-boot on 'c' */
15         if (serial_tstc() && serial_getc() == 'c')
16                 return 1;
17
18         return 0;
19 }
20 #endif