diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-01 15:13:55 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-11 12:36:08 +0200 |
commit | 3f1ff6b730ec17ce635fcf38770358d8042e80b4 (patch) | |
tree | 3b93a1f2f90bcfde6bfecd30d74635e54756c584 /common/console_simple.c | |
parent | 09da8d4bab923871891e275e83c90419d9235231 (diff) | |
download | barebox-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.c | 2 |
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; } |