summaryrefslogtreecommitdiff
path: root/common/console.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-11-16 15:26:31 +0100
committerTom Rini <trini@konsulko.com>2015-11-23 10:56:06 -0500
commitdd5577703b99170e88fad3994c7865d1e9bc2874 (patch)
tree5f9acd0a0ae7603159bde0c195ac45c8f3f7df0c /common/console.c
parentf300dccde433bf9e0223e1be489822fdc1cc83e2 (diff)
downloadu-boot-imx-dd5577703b99170e88fad3994c7865d1e9bc2874.zip
u-boot-imx-dd5577703b99170e88fad3994c7865d1e9bc2874.tar.gz
u-boot-imx-dd5577703b99170e88fad3994c7865d1e9bc2874.tar.bz2
common/console.c: Drop sandbox special-case console code
As done in commit da229e4e [sandbox: Drop special-case sandbox console code], this patch drops the sandbox special-case code in vprintf() that was missed by Simon at that time. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/console.c b/common/console.c
index b3f126c..fff03c9 100644
--- a/common/console.c
+++ b/common/console.c
@@ -582,11 +582,6 @@ int vprintf(const char *fmt, va_list args)
uint i;
char printbuffer[CONFIG_SYS_PBSIZE];
-#if defined(CONFIG_PRE_CONSOLE_BUFFER) && !defined(CONFIG_SANDBOX)
- if (!gd->have_console)
- return 0;
-#endif
-
/* For this to work, printbuffer must be larger than
* anything we ever want to print.
*/