summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-12-28 23:14:16 +0300
committerSimon Glass <sjg@chromium.org>2018-02-03 20:09:13 +0300
commitf941c8d76c665045e5d645112a309d12523e19c7 (patch)
treec9ed5205c536521ea53c252a303214f52d1f415f /include/asm-generic
parent6e43d1b19982b1756b7c607569d1778e556d6577 (diff)
downloadu-boot-f941c8d76c665045e5d645112a309d12523e19c7.tar.xz
log: Add functions to convert IDs to/from names
Category and level both use an enum for their ID values. Add functions to convert these IDs to strings and vice versa. This will allow the log to output the strings instead of the (inscrutable) values. At the same time, add a new 'driver-model' category, to cover core driver-model functions and fix an incorrect value for LOGL_MAX. Tests will be added with the new 'log' subcommands. Signed-off-by: Simon Glass <sjg@chromium.org> (Updated to correct clang warnings)
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions