blob: baf197c48515fa1d0949fa53dd3c5f8ac909d4f5 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Jagan Tekid55af072017-09-12 17:15:47 +05302/*
3 * Copyright (C) 2017 Amarula Solutions
Jagan Tekid55af072017-09-12 17:15:47 +05304 */
5
6#include <common.h>
Jagan Teki5d94ebe2017-09-27 23:03:13 +05307
8#ifndef CONFIG_TPL_BUILD
Jagan Teki1e84e442018-02-14 21:26:22 +05309
Jagan Teki5d94ebe2017-09-27 23:03:13 +053010int spl_start_uboot(void)
11{
12 /* break into full u-boot on 'c' */
13 if (serial_tstc() && serial_getc() == 'c')
14 return 1;
15
16 return 0;
17}
18#endif