1. 17 6月, 2021 5 次提交
  2. 15 4月, 2021 1 次提交
  3. 21 2月, 2021 1 次提交
    • I
      dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO · 2147a169
      Igor Opaniuk 提交于
      Use CONFIG_IS_ENABLED() macro, which provides more convenient
      way to check $(SPL)DM_I2C/$(SPL)DM_I2C_GPIO configs
      for both SPL and U-Boot proper.
      
      CONFIG_IS_ENABLED(DM_I2C) expands to:
      - 1 if CONFIG_SPL_BUILD is undefined and CONFIG_DM_I2C is set to 'y',
      - 1 if CONFIG_SPL_BUILD is defined and CONFIG_SPL_DM_I2C is set to 'y',
      - 0 otherwise.
      
      All occurences were replaced automatically using these bash cmds:
      $ find . -type f -exec sed -i
           's/ifndef CONFIG_DM_I2C/if !CONFIG_IS_ENABLED(DM_I2C)/g' {} +
      $ find . -type f -exec sed -i
          's/ifdef CONFIG_DM_I2C/if CONFIG_IS_ENABLED(DM_I2C)/g' {} +
      $ find . -type f -exec sed -i
          's/defined(CONFIG_DM_I2C)/CONFIG_IS_ENABLED(DM_I2C)/g' {} +
      $ find . -type f -exec sed -i
          's/ifndef CONFIG_DM_I2C_GPIO/if !CONFIG_IS_ENABLED(DM_I2C_GPIO)/g' {} +
      $ find . -type f -exec sed -i
          's/ifdef CONFIG_DM_I2C_GPIO/if CONFIG_IS_ENABLED(DM_I2C_GPIO)/g' {} +
      $ find . -type f -exec sed -i
          's/defined(CONFIG_DM_I2C_GPIO)/CONFIG_IS_ENABLED(DM_I2C_GPIO)/g' {} +
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NIgor Opaniuk <igor.opaniuk@foundries.io>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NPriyanka Jain <priyanka.jain@nxp.com>
      2147a169
  4. 08 2月, 2021 6 次提交
  5. 03 2月, 2021 1 次提交
    • S
      common: Drop asm/global_data.h from common header · 401d1c4f
      Simon Glass 提交于
      Move this out of the common header and include it only where needed.  In
      a number of cases this requires adding "struct udevice;" to avoid adding
      another large header or in other cases replacing / adding missing header
      files that had been pulled in, very indirectly.   Finally, we have a few
      cases where we did not need to include <asm/global_data.h> at all, so
      remove that include.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      401d1c4f
  6. 19 1月, 2021 1 次提交
  7. 02 12月, 2020 1 次提交
  8. 19 11月, 2020 2 次提交
  9. 22 10月, 2020 2 次提交
    • H
      km: adapt defines and variables for new memory layout · 6a0952a3
      Holger Brunck 提交于
      Due to increasing kernel image sizes we get problems when decompressing
      the kernel image. To fix this we need to change the addresses where we
      load and where we extract the kernel. Also we need to adapt the address
      where to load the CRAMFS image and where to load the DTB file.
      While at it also harmonize all boards for PPC and ARM to have the
      same values. Also we add a new variable "env_version", so that the
      userspace is able to detect if this is a u-boot binary with updated
      values or not.
      
      CC: Valentin Longchamp <valentin.longchamp@hitachi-powergrids.com>
      CC: Heiko Schocher <hs@denx.de>
      CC: Tom Rini <trini@konsulko.com>
      Signed-off-by: NHolger Brunck <holger.brunck@hitachi-powergrids.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      [trini: Remove old values from kmp204x.h]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      6a0952a3
    • H
      km: fix license string and compatible strings · 5d57dfad
      Holger Brunck 提交于
      As the ownership is now Hitachi Power Grids, change the license string
      and adapt the compatible string in DTS files. For kmeter1.dts we
      change it to "keymile,KMETER1" for now, as this is then compliant with
      what is submitted to the linux kernel. All other boards don't have
      a upstreamed version in linux mainline.
      Signed-off-by: NHolger Brunck <holger.brunck@hitachi-powergrids.com>
      CC: Valentin Longchamp <valentin.longchamp@hitachi-powergrids.com>
      CC: Heiko Schocher <hs@denx.de>
      CC: Marek Vasut <marex@denx.de>
      CC: Tom Rini <trini@konsulko.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      5d57dfad
  10. 17 9月, 2020 1 次提交
    • H
      mpc83xx, keymile boards: enable DM_ETH and add DTS · 7bdfe859
      Heiko Schocher 提交于
      enable DTS support for keymile mpc83xx based boards.
      
      get rid of compile warning:
      ===================== WARNING ======================
      This board does not use CONFIG_DM_ETH (Driver Model
      for Ethernet drivers). Please update the board to use
      CONFIG_DM_ETH before the v2020.07 release. Failure to
      update by the deadline may result in board removal.
      See doc/driver-model/migration.rst for more info.
      ====================================================
      
      Therefore done:
      - add DTS for all mpc83xx based boards from keymile
        mainly they are not mainlined to linux.
      - add u-boot specific dtsi
      - add stdout-path
      - add missing ucc4 par_io definitions, which were
        in board code, but not in linux DTS
      - remove not used ethernet nodes
      Signed-off-by: NHeiko Schocher <hs@denx.de>
      Patch-cc: Mario Six <mario.six@gdsys.cc>
      Patch-cc: Qiang Zhao <qiang.zhao@nxp.com>
      
      Series-to: u-boot
      
      Series-version: 3
      
      Series-changes: 3
      - rebase patchset to current mainline commit
        c0192950
      - update defconfig files
      
      Series-changes: 2
      - add patch which fixes Codingstyle errors in drivers/qe
      - add patch which converts the mpc83xx based boards from
        keymile to DM_ETH
      
      Cover-letter:
      powerpc, mpc83xx: add DM_ETH support
      
      This patch series adds DM ethernet support for mpc83xx based
      keymile boards.
      
      Travis build:
      
      END
      7bdfe859
  11. 17 7月, 2020 2 次提交
    • H
      board/km: update MAINTAINERS email · b72bbf57
      Holger Brunck 提交于
      Signed-off-by: NHolger Brunck <holger.brunck@hitachi-powergrids.com>
      CC: Valentin Longchamp <valentin.longchamp@hitachi-powergrids.com>
      b72bbf57
    • M
      treewide: convert bd_t to struct bd_info by coccinelle · b75d8dc5
      Masahiro Yamada 提交于
      The Linux coding style guide (Documentation/process/coding-style.rst)
      clearly says:
      
        It's a **mistake** to use typedef for structures and pointers.
      
      Besides, using typedef for structures is annoying when you try to make
      headers self-contained.
      
      Let's say you have the following function declaration in a header:
      
        void foo(bd_t *bd);
      
      This is not self-contained since bd_t is not defined.
      
      To tell the compiler what 'bd_t' is, you need to include <asm/u-boot.h>
      
        #include <asm/u-boot.h>
        void foo(bd_t *bd);
      
      Then, the include direcective pulls in more bloat needlessly.
      
      If you use 'struct bd_info' instead, it is enough to put a forward
      declaration as follows:
      
        struct bd_info;
        void foo(struct bd_info *bd);
      
      Right, typedef'ing bd_t is a mistake.
      
      I used coccinelle to generate this commit.
      
      The semantic patch that makes this change is as follows:
      
        <smpl>
        @@
        typedef bd_t;
        @@
        -bd_t
        +struct bd_info
        </smpl>
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      b75d8dc5
  12. 20 5月, 2020 1 次提交
  13. 19 5月, 2020 7 次提交
  14. 16 5月, 2020 1 次提交
  15. 09 5月, 2020 1 次提交
  16. 04 3月, 2020 1 次提交
  17. 25 1月, 2020 2 次提交
  18. 23 1月, 2020 4 次提交