summaryrefslogtreecommitdiffstats
path: root/include/console.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-07 13:47:26 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-29 12:15:40 +0200
commit666f12e0c19a19f4431e05f6e5b37e657a62038f (patch)
treeba5a20de0da52c1651184e080440462f97c8305a /include/console.h
parent61694c93cd9e47e2ea72d9095817040a4c0c2cee (diff)
downloadbarebox-666f12e0c19a19f4431e05f6e5b37e657a62038f.tar.gz
barebox-666f12e0c19a19f4431e05f6e5b37e657a62038f.tar.xz
introduce runtime loglevel
With this the verbosity of barebox can be controlled during runtime using the 'loglevel' globalvar. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/console.h')
-rw-r--r--include/console.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/console.h b/include/console.h
index e94c5aec75..393579bb7f 100644
--- a/include/console.h
+++ b/include/console.h
@@ -57,4 +57,6 @@ extern struct list_head console_list;
bool console_is_input_allow(void);
void console_allow_input(bool val);
+extern int barebox_loglevel;
+
#endif