summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-09-30 10:26:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-30 15:33:22 +0200
commit930ce6e142354268d11ec9fe5cf6f4fc66a8f1f0 (patch)
treed924b3a215a8dac31e35c1e83ebf3440545d353e /common/Kconfig
parent6ae9a40c799dd341db985c95cc906ae2e0aacf97 (diff)
downloadbarebox-930ce6e142354268d11ec9fe5cf6f4fc66a8f1f0.tar.gz
barebox-930ce6e142354268d11ec9fe5cf6f4fc66a8f1f0.tar.xz
Introduce message logging support
This adds a buffer for log messages and a 'dmesg' command to print the messages. The log buffer is implemented as log objects rather than a string buffer. This makes it easy to implement limiting the messages, cleaning the buffer and timestamping the messages. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 9cc96b776d..4a84cfa207 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -66,6 +66,9 @@ config UIMAGE
select CRC32
bool
+config LOGBUF
+ bool
+
config GLOBALVAR
bool