1. 04 2月, 2018 1 次提交
    • S
      log: Add functions to convert IDs to/from names · f941c8d7
      Simon Glass 提交于
      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: NSimon Glass <sjg@chromium.org>
      (Updated to correct clang warnings)
      f941c8d7
  2. 08 12月, 2017 2 次提交