mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
stdio: Make use of the SERIAL define
This is always enabled for U-Boot proper, so simplify the condition in the common Makefile. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -9,10 +9,7 @@ int getchar(void);
|
||||
int tstc(void);
|
||||
|
||||
/* stdout */
|
||||
#if !defined(CONFIG_SPL_BUILD) || \
|
||||
(defined(CONFIG_TPL_BUILD) && defined(CONFIG_TPL_SERIAL)) || \
|
||||
(defined(CONFIG_SPL_BUILD) && !defined(CONFIG_TPL_BUILD) && \
|
||||
defined(CONFIG_SPL_SERIAL))
|
||||
#if !defined(CONFIG_SPL_BUILD) || CONFIG_IS_ENABLED(SERIAL)
|
||||
void putc(const char c);
|
||||
void puts(const char *s);
|
||||
#ifdef CONFIG_CONSOLE_FLUSH_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user