Skip to content
Snippets Groups Projects
  1. Oct 28, 2019
  2. May 07, 2018
    • 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
  3. Apr 27, 2018
  4. Feb 08, 2018
  5. Jan 10, 2018
    • Tom Rini's avatar
      build: Drop CONFIG_SPL_BUILD guards in some cases · ec75fab3
      Tom Rini authored
      
      Given gcc-6.1 and later we can now safely have strings discarded when
      the functions are unused.  This lets us drop certain cases of not
      building something so that we don't have the strings brought in when the
      code was discarded.  Simplify the code now by dropping guards we don't
      need now.
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Chander Kashyap <k.chander@samsung.com>
      Cc: Thomas Abraham <thomas.ab@samsung.com>
      Cc: Vipin Kumar <vipin.kumar@st.com>
      Cc: Wenyou Yang <wenyou.yang@microchip.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      ec75fab3
  6. Sep 23, 2016
  7. Jun 26, 2016
    • Marek Vasut's avatar
      common: Pass the boot device into spl_boot_mode() · 2b1cdafa
      Marek Vasut authored
      
      The SPL code already knows which boot device it calls the spl_boot_mode()
      on, so pass that information into the function. This allows the code of
      spl_boot_mode() avoid invoking spl_boot_device() again, but it also lets
      board_boot_order() correctly alter the behavior of the boot process.
      
      The later one is important, since in certain cases, it is desired that
      spl_boot_device() return value be overriden using board_boot_order().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Andreas Bießmann <andreas.devel@googlemail.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: default avatarAndreas Bießmann <andreas@biessmann.org>
      [add newly introduced zynq variant]
      Signed-aff-by: default avatarAndreas Bießmann <andreas@biessmann.org>
      2b1cdafa
  8. Mar 02, 2015
  9. Oct 27, 2014
  10. Sep 16, 2014
    • Andrew Ruder's avatar
      arm: mx35: use common timer functions · 816264fc
      Andrew Ruder authored
      
      This patch moves mx35 to the common timer functions added in commit
      
        8dfafdde - Introduce common timer functions <Rob Herring>
      
      The (removed) mx35 timer code (specifically __udelay()) could deadlock at
      the 32-bit boundary of get_ticks().  get_ticks() returned a 32-bit value
      cast up to a 64-bit value.  If get_ticks() + tmo in __udelay() crossed
      the 32-bit boundary, the while condition became unconditionally true and
      locks the processor.  Rather than patch the specific mx35 issues, simply
      move everything over to the common code.
      
      Signed-off-by: default avatarAndrew Ruder <andrew.ruder@elecsyscorp.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      816264fc
  11. Mar 28, 2014
    • Masahiro Yamada's avatar
      kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib · 254d68b6
      Masahiro Yamada authored
      
      U-Boot has supported two kinds of asm-offsets.h.
      
      One is generic for all architectures and its source is located at
      ./lib/asm-offsets.c.
      
      The other is SoC specific and its source is under SoC directory.
      The problem here is that only boards with SoC directory can use
      the asm-offsets infrastructure.
      Putting asm-offsets.c right under CPU directory does not work.
      
      Now a new demand is coming. PowerPC folks want to use asm-offsets.
      But no PowerPC boards have SoC directory.
      
      It seems inconsistent that some boards add asm-offsets.c to SoC
      directoreis and some to CPU directories.
      It looks more reasonable to put asm-offsets.c under arch/$(ARCH)/lib.
      
      This commit merges asm-offsets.c under SoC directories into
      arch/$(ARCH)/lib/asm-offsets.c.
      
      By the way, I doubt the necessity of some entries in asm-offsets.c.
      I am leaving refactoring to the board maintainers.
      Please check "TODO" in the comment blocks in
      arch/{arm,nds32}/lib/asm-offsets.c.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Yuantian Tang <Yuantian.Tang@freescale.com>
      254d68b6
  12. Oct 31, 2013
  13. Jul 24, 2013
  14. May 05, 2013
  15. Apr 16, 2013
  16. Mar 08, 2013
  17. Feb 04, 2013
  18. Feb 01, 2013
  19. Jan 13, 2013
  20. Oct 26, 2012
  21. Oct 16, 2012
    • Benoît Thébaudeau's avatar
      mx35: Fix eSDHC clocks · 6e3dc127
      Benoît Thébaudeau authored
      
      Each eSDHC instance has a dedicated clock.
      
      gd->sdhc_clk must also be set accordingly. This is good for the case only a
      single SDHC instance is used (initialization made with fsl_esdhc_mmc_init()). A
      future patch will fix the multi-instance use case (initialization made directly
      with fsl_esdhc_initialize()).
      
      Signed-off-by: default avatarBenoît Thébaudeau <benoit.thebaudeau@advansee.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Eric Bénard <eric@eukrea.com>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      6e3dc127
  22. Oct 15, 2012
  23. Sep 06, 2012
  24. Sep 01, 2012
  25. Feb 27, 2012
  26. Jan 16, 2012
  27. Nov 03, 2011
  28. Oct 27, 2011
  29. Sep 07, 2011
  30. Sep 04, 2011
  31. Jul 26, 2011
Loading