1. 28 10月, 2020 3 次提交
  2. 22 10月, 2020 1 次提交
  3. 11 10月, 2020 3 次提交
    • S
      log: Add a way to enable/disable a log device · 3d03ab63
      Simon Glass 提交于
      At present all log devices are enabled by default. Add a function to allow
      devices to be disabled or enabled at runtime.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      3d03ab63
    • S
      log: Add a flag to enable log drivers · b4520300
      Simon Glass 提交于
      At present there is no way to disable a log driver. But the syslog driver
      causes (attempted) network traffic in sandbox every time a log message
      is printed, which is often.
      
      Add a flag to enable a log driver. Adjust struct log_device to use a short
      for next_filter_num so that no more memory is used for devices. Also fix
      a missing line in the struct log_driver comment while here.
      
      To maintain compatibility, enable it for all drivers for now.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      b4520300
    • S
      log: Allow LOG_DEBUG to always enable log output · 52d3df7f
      Simon Glass 提交于
      At present if CONFIG_LOG enabled, putting LOG_DEBUG at the top of a file
      (before log.h inclusion) causes _log() to be executed for every log()
      call, regardless of the build- or run-time logging level.
      
      However there is no guarantee that the log record will actually be
      displayed. If the current log level is lower than LOGL_DEBUG then it will
      not be.
      
      Add a way to signal that the log record should always be displayed and
      update log_passes_filters() to handle this.
      
      With the new behaviour, log_debug() will always log if LOG_DEBUG is
      enabled.
      
      Move log_test_syslog_nodebug() into its own file since it cannot be made
      to work where it is, with LOG_DEBUG defined.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      52d3df7f
  4. 23 9月, 2020 1 次提交
  5. 10 7月, 2020 2 次提交
  6. 27 4月, 2020 1 次提交
  7. 20 2月, 2019 1 次提交
  8. 09 10月, 2018 1 次提交
  9. 19 6月, 2018 1 次提交
  10. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  11. 10 4月, 2018 1 次提交
  12. 04 2月, 2018 3 次提交
  13. 08 12月, 2017 2 次提交