1. 10 Dec, 2020 1 commit
  2. 23 Oct, 2020 1 commit
  3. 24 Sep, 2020 1 commit
  4. 17 Jul, 2020 1 commit
    • Masahiro Yamada's avatar
      treewide: convert bd_t to struct bd_info by coccinelle · b75d8dc5
      Masahiro Yamada authored
      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: Masahiro Yamada ...
      b75d8dc5
  5. 19 May, 2020 2 commits
  6. 18 May, 2020 1 commit
    • Simon Glass's avatar
      common: Drop net.h from common header · 90526e9f
      Simon Glass authored
      
      
      Move this header out of the common header. Network support is used in
      quite a few places but it still does not warrant blanket inclusion.
      
      Note that this net.h header itself has quite a lot in it. It could be
      split into the driver-mode support, functions, structures, checksumming,
      etc.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      90526e9f
  7. 17 May, 2020 1 commit
    • Michael Walle's avatar
      efi_loader: round the memory area in efi_add_memory_map() · 714497e3
      Michael Walle authored
      
      
      Virtually all callers of this function do the rounding on their own.
      Some do it right, some don't. Instead of doing this in each caller,
      do the rounding in efi_add_memory_map(). Change the size parameter
      to bytes instead of pages and remove aligning and size calculation in
      all callers.
      
      There is no more need to make the original efi_add_memory_map() (which
      takes pages as size) available outside the module. Thus rename it to
      efi_add_memory_map_pg() and make it static to prevent further misuse
      outside the module.
      Signed-off-by: default avatarMichael Walle <michael@walle.cc>
      Add missing comma in sunxi_display.c.
      Reviewed-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
      714497e3
  8. 29 Apr, 2020 1 commit
    • Madalin Bucur's avatar
      driver: net: fm: add DM ETH support · 6eb32a03
      Madalin Bucur authored
      
      
      Probe the FMan MACs based on the device tree while
      retaining the legacy code/functionality.
      One notable change introduced here is that, for DM_ETH,
      the name of the interfaces is corrected to the fmX-macY
      format, that avoids the referral to the MAC block names
      which were incorrect for FMan v3 devices (i.e. DTSEC,
      TGEC) and had weird formatting (i.e. FM1@DTSEC6, FM1@TGEC1).
      The legacy code is left unchanged in this respect.
      Signed-off-by: default avatarMadalin Bucur <madalin.bucur@oss.nxp.com>
      Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
      6eb32a03
  9. 28 Apr, 2020 1 commit
  10. 24 Jan, 2020 3 commits
  11. 17 Jan, 2020 2 commits
  12. 26 Dec, 2019 1 commit
  13. 02 Dec, 2019 3 commits
  14. 08 Nov, 2019 2 commits
  15. 21 Oct, 2019 1 commit
    • Yuantian Tang's avatar
      armv8: ls1028a: Add more personalities support · 6ed69523
      Yuantian Tang authored
      
      
      Add LS1027A, LS1018A and LS1017A personalities support to
      LS1028A SoC family.
      
      LS1028A is the prime personality of LS1028A SoC family.
      LS1027A is a lower funtionality version of QorIQ LS1028A
      which does not support the multimedia subsystems, such as LCD
      controller, GPU, and eDP PHY.
      
      The QorIQ LS1018A and LS1017A SoCs are single 64-bit Arm A72
      core, low power versions of the QorIQ LS1028A and LS1027A
      SoCs respectively.
      Signed-off-by: default avatarTang Yuantian <andy.tang@nxp.com>
      Signed-off-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
      6ed69523
  16. 12 Sep, 2019 1 commit
  17. 11 Aug, 2019 2 commits
  18. 22 May, 2019 4 commits
  19. 18 May, 2019 1 commit
  20. 19 Feb, 2019 1 commit
    • Pankaj Bansal's avatar
      armv8: fsl-layerscape: reorder rgmii dpmacs' enablement · 2e53759d
      Pankaj Bansal authored
      
      
      some dpmacs in armv8a based freescale layerscape SOCs can be
      configured via both serdes(sgmii, xfi, xlaui etc) bits and via
      EC*_PMUX(rgmii) bits in RCW.
      e.g. dpmac 17 and 18 in LX2160A can be configured as SGMII from
      serdes bits and as RGMII via EC1_PMUX/EC2_PMUX bits
      Now if a dpmac is enabled by serdes bits then it takes precedence
      over EC*_PMUX bits. i.e. in LX2160A if we select serdes protocol
      that configures dpmac17 as SGMII and set the EC1_PMUX as RGMII,
      then the dpmac is SGMII and not RGMII.
      
      Therefore, move the fsl_rgmii_init after fsl_serdes_init. in
      fsl_rgmii_init function of SOC, we will check if the dpmac is enabled
      or not? if it is (fsl_serdes_init has already enabled the dpmac), then
      don't enable it.
      Signed-off-by: default avatarPankaj Bansal <pankaj.bansal@nxp.com>
      Reviewed-by: default avatarPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
      2e53759d
  21. 17 Jan, 2019 2 commits
  22. 06 Dec, 2018 7 commits