mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
Remove <common.h> from this board vendor directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com>
19 lines
309 B
C
19 lines
309 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2017 Amarula Solutions
|
|
*/
|
|
|
|
#include <serial.h>
|
|
|
|
#ifndef CONFIG_TPL_BUILD
|
|
|
|
int spl_start_uboot(void)
|
|
{
|
|
/* break into full u-boot on 'c' */
|
|
if (serial_tstc() && serial_getc() == 'c')
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
#endif
|