1. 22 11月, 2017 1 次提交
  2. 04 10月, 2017 1 次提交
    • M
      treewide: replace with error() with pr_err() · 9b643e31
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      [trini: Re-run Coccinelle]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      9b643e31
  3. 13 8月, 2017 1 次提交
  4. 11 7月, 2017 1 次提交
  5. 16 4月, 2017 1 次提交
    • H
      rockchip: rk3188: enable remap function · 008a610b
      Heiko Stübner 提交于
      Most Rockchip socs have the ability to either map the bootrom or a sram
      area to the starting address of the cpu by flipping a bit in the GRF.
      
      Newer socs leave this untouched and mapped to the bootrom but the legacy
      loaders on rk3188 and before enabled the remap functionality and the
      current smp implementation in the Linux kernel also requires it to be
      enabled, to bring up secondary cpus.
      
      So to keep smp working in the kernel, mimic the behaviour of the legacy
      bootloaders and enable the remap functionality.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Acked-by: NSimon Glass <sjg@chromium.org>
      008a610b
  6. 05 4月, 2017 1 次提交
    • H
      rockchip: rk3188: Decode the actual amount of ram · 78959d4c
      Heiko Stübner 提交于
      There was still a static ram value set in the rk3188-board from the
      time where we didn't have actual sdram init code.
      Now the sdram init leaves the ram information in SYS_REG2 and we can
      decode it similarly to the rk3288.
      
      Right now we have two duplicates of that code, which is still ok and
      doesn't really count as common code yet, but if we get a third copy
      at some point from a newer soc, we should think about moving that to
      a more general position.
      Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
      Acked-by: NSimon Glass <sjg@chromium.org>
      78959d4c
  7. 17 3月, 2017 1 次提交