commands: dmesg: add -l option to restrict output level
Same as linux dmesg, barebox dmesg will be able to restrict output level
by using -l option. For example "dmesg -l err,warn"
This functionality can be used for test automation.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3f3cf50 commit 34b9ee02ae460f4283f6096db308d5e7f8f36d45
@Oleksij Rempel Oleksij Rempel authored on 21 Feb 2019
Sascha Hauer committed on 27 Feb 2019
Showing 3 changed files
View
commands/dmesg.c
View
common/console_common.c
View
include/printk.h