1. 25 Apr, 2018 1 commit
  2. 24 Feb, 2018 2 commits
  3. 08 Feb, 2018 1 commit
  4. 28 Jan, 2018 2 commits
  5. 10 Jan, 2018 1 commit
  6. 18 Dec, 2017 2 commits
  7. 30 Nov, 2017 6 commits
  8. 26 Nov, 2017 1 commit
    • Philipp Tomsich's avatar
      rockchip: fix turning off boot-mode via Kconfig · f07d76c0
      Philipp Tomsich authored
      The ROCKCHIP_BOOT_MODE_REG option defaults to a hex value, so 0 will
      show as 0x0 if a default is provided and changed via Kconfig.
      However, it still will show as 0, if no default is given.
      
      Consequently, the "is set to something other than 0" test in a
      Makefile is cumbersome.  Instead this check can easily be performed in
      the C-code.
      
      This removes the ifeq-check from mach-rockchip/Makefile, adds a
      matching #if-check to boot_mode.c and fixes resulting link issues (if
      boot_mode.o was not included due to the Makefile check) by defining a
      stub function (in case the functionality is not built in) for
      setup_boot_mode in boot_mode.c.
      
      Fixes: e3067793
      
       (rockchip: make boot_mode related codes reused across all platforms)
      Signed-off-by: Philipp Tomsich's avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      f07d76c0
  9. 21 Nov, 2017 9 commits
  10. 01 Nov, 2017 1 commit
  11. 04 Oct, 2017 1 commit
    • Masahiro Yamada's avatar
      treewide: replace with error() with pr_err() · 9b643e31
      Masahiro Yamada authored and Tom Rini's avatar Tom Rini committed
      
      
      U-Boot widely uses error() as a bit noisier variant of printf().
      
      This macro causes name conflict with the following line in
      include/linux/compiler-gcc.h:
      
        # define __compiletime_error(message) __attribute__((error(message)))
      
      This prevents us from using __compiletime_error(), and makes it
      difficult to fully sync BUILD_BUG macros with Linux.  (Notice
      Linux's BUILD_BUG_ON_MSG is implemented by using compiletime_assert().)
      
      Let's convert error() into now treewide-available pr_err().
      
      Done with the help of Coccinelle, excluing tools/ directory.
      
      The semantic patch I used is as follows:
      
      // <smpl>
      @@@@
      -error
      +pr_err
       (...)
      // </smpl>
      Signed-off-by: Masahiro Yamada's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      [trini: Re-run Coccinelle]
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      9b643e31
  12. 30 Sep, 2017 13 commits