summaryrefslogtreecommitdiffstats
path: root/common/console.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-08-01 11:47:10 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-08-01 11:47:10 +0200
commitaca52174a9c43aabdf5b5874c7902181a047f61a (patch)
tree9d17e41af46cddcaeff59e42dbe3f22b1248cccc /common/console.c
parentc10e20846ddbd0f6f062fb5faa66a9570fbcedc7 (diff)
downloadbarebox-aca52174a9c43aabdf5b5874c7902181a047f61a.tar.gz
barebox-aca52174a9c43aabdf5b5874c7902181a047f61a.tar.xz
console: add a simple console for saving space
Add a simple console layer which is not able to handle multiple consoles for those who don't need it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console.c')
-rw-r--r--common/console.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/console.c b/common/console.c
index e47c46061e..7a94f57392 100644
--- a/common/console.c
+++ b/common/console.c
@@ -35,7 +35,6 @@
#include <kfifo.h>
#include <module.h>
#include <list.h>
-#include <linux/utsrelease.h>
LIST_HEAD(console_list);
EXPORT_SYMBOL(console_list);
@@ -44,8 +43,7 @@ EXPORT_SYMBOL(console_list);
#define CONSOLE_INIT_EARLY 1
#define CONSOLE_INIT_FULL 2
-const char version_string[] =
- "U-Boot " UTS_RELEASE " (" __DATE__ " - " __TIME__ ")";
+extern char version_string[];
static void display_banner (void)
{