summaryrefslogtreecommitdiffstats
path: root/include/common.h
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 /include/common.h
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 'include/common.h')
-rw-r--r--include/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 35ad7b994d..491bc98033 100644
--- a/include/common.h
+++ b/include/common.h
@@ -219,6 +219,7 @@ int run_shell(void);
int memory_display(char *addr, ulong offs, ulong nbytes, int size);
extern const char version_string[];
+void barebox_banner(void);
#define IOMEM(addr) ((void __force __iomem *)(addr))