summaryrefslogtreecommitdiffstats
path: root/common/console_simple.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-01 15:13:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-11 12:36:08 +0200
commit3f1ff6b730ec17ce635fcf38770358d8042e80b4 (patch)
tree3b93a1f2f90bcfde6bfecd30d74635e54756c584 /common/console_simple.c
parent09da8d4bab923871891e275e83c90419d9235231 (diff)
downloadbarebox-3f1ff6b730ec17ce635fcf38770358d8042e80b4.tar.gz
barebox-3f1ff6b730ec17ce635fcf38770358d8042e80b4.tar.xz
move version_string to seperate file
In a noninteractive environment barebox will be compiled without command support. So move version_string to a seperate file which is compiled unconditionally. Also, display the banner when the simple console support is used. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/console_simple.c')
-rw-r--r--common/console_simple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/console_simple.c b/common/console_simple.c
index 1b58deaff7..7304d8ee05 100644
--- a/common/console_simple.c
+++ b/common/console_simple.c
@@ -152,6 +152,8 @@ int console_register(struct console_device *newcdev)
console = newcdev;
console_list.prev = console_list.next = &newcdev->list;
newcdev->list.prev = newcdev->list.next = &console_list;
+
+ barebox_banner();
}
return 0;
}