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 11int 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 20