1. 10 Dec, 2020 1 commit
  2. 23 Oct, 2020 1 commit
  3. 27 Jul, 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 1 commit
  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. 28 Apr, 2020 1 commit
  9. 20 Apr, 2020 1 commit
  10. 24 Jan, 2020 1 commit
  11. 17 Jan, 2020 1 commit
  12. 26 Dec, 2019 1 commit
  13. 21 Oct, 2019 1 commit
  14. 12 Sep, 2019 1 commit
  15. 19 Jun, 2019 1 commit
  16. 17 Jan, 2019 1 commit
  17. 23 Sep, 2018 1 commit
  18. 09 May, 2018 1 commit
    • Ruchika Gupta's avatar
      armv8: sec_firmware: Remove JR3 from device tree node in all cases · b6bb93de
      Ruchika Gupta authored
      
      
      JR3 was getting removed from device tree only if random number
      generation was successful. However, if SEC firmware is present,
      JR3 should be removed from device tree node irrespective of the
      random seed generation as SEC firmware reserves it for it's use.
      Not removing it in case of random number generation failure causes
      the kernel to crash.
      
      Random number generation was being called twice. This is not
      required. If SEC firmware is running, SIP call can be made to the SEC
      firmware to get the random number. This call itself would return
      failure if function is not supported. Duplicate calling of random
      number generation function has been removed.
      Signed-off-by: default avatarRuchika Gupta <ruchika.gupta@nxp.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      b6bb93de
  19. 07 May, 2018 1 commit
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      
      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: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  20. 05 Mar, 2018 1 commit
  21. 10 Jan, 2018 1 commit
    • Ahmed Mansour's avatar
      drivers/misc: Share qbman init between archs · 44262327
      Ahmed Mansour authored
      
      
      This patch adds changes necessary to move functionality present in
      PowerPC folders with ARM architectures that have DPAA1 QBMan hardware
      
      - Create new board/freescale/common/fsl_portals.c to house shared
        device tree fixups for DPAA1 devices with ARM and PowerPC cores
      - Add new header file to top includes directory to allow files in
        both architectures to grab the function prototypes
      - Port inhibit_portals() from PowerPC to ARM. This function is used in
        setup to disable interrupts on all QMan and BMan portals. It is
        needed because the interrupts are enabled by default for all portals
        including unused/uninitialised portals. When the kernel attempts to
        go to deep sleep the unused portals prevent it from doing so
      Signed-off-by: default avatarAhmed Mansour <ahmed.mansour@nxp.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      44262327
  22. 13 Dec, 2017 2 commits
  23. 11 Sep, 2017 1 commit
  24. 26 Aug, 2017 1 commit
  25. 01 Jun, 2017 1 commit
  26. 17 Apr, 2017 1 commit
  27. 28 Mar, 2017 1 commit
  28. 18 Jan, 2017 3 commits
  29. 15 Dec, 2016 1 commit
  30. 17 Nov, 2016 1 commit
  31. 06 Oct, 2016 1 commit
  32. 19 Jul, 2016 1 commit
  33. 17 May, 2016 1 commit
  34. 21 Mar, 2016 1 commit
  35. 24 Feb, 2016 1 commit
  36. 25 Jan, 2016 1 commit
  37. 30 Nov, 2015 1 commit