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