diff options
author | Chin Liang See <clsee@altera.com> | 2013-02-14 16:50:38 +0800 |
---|---|---|
committer | Chin Liang See <clsee@altera.com> | 2013-02-14 16:50:38 +0800 |
commit | e3e8609e2a36d3e0a1362a3767b2f07ff355ec11 (patch) | |
tree | 988d2c94ed1f2c8ab537823a5098aded9b574f52 /common/console.c | |
parent | 0ca85c3df32bfecaea4f0ac007209d715d712ab6 (diff) | |
download | u-boot-socfpga-rel_ghrd_RC8.tar.gz |
FogBugz #100359: Review - Add OSE support and fix debug mode build errorrel_ghrd_RC9rel_ghrd_RC8rel_ghrd_RC6rel_ghrd_RC5rel_ghrd_RC4rel_ghrd_RC3rel_ghrd_RC2rel_ghrd_RC10rel_ghrd_RC1rel_13.02_RC9rel_13.02_RC8rel_13.02_RC7rel_13.02_RC6rel_13.02_RC10
Add OSE support and fix debug mode build error
Signed-off-by: Chin Liang See <clsee@altera.com>
Diffstat (limited to 'common/console.c')
-rw-r--r-- | common/console.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/console.c b/common/console.c index 60077197b5..7828d5b375 100644 --- a/common/console.c +++ b/common/console.c @@ -410,10 +410,12 @@ void puts(const char *s) fputs(stdout, s); } else { /* Send directly to the handler */ -#ifdef CONFIG_SPL_SEMIHOSTING_SUPPORT if (gd->have_console) -#endif +#if !defined(CONFIG_SPL_BUILD) | defined(CONFIG_SPL_SERIAL_SUPPORT) serial_puts(s); +#else + ; /* no printout */ +#endif #ifdef CONFIG_SPL_SEMIHOSTING_SUPPORT semihosting_write(s); #endif |