Skip to content
Snippets Groups Projects
  1. Jul 19, 2018
  2. Jun 18, 2018
  3. 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
  4. Apr 27, 2018
  5. Feb 18, 2018
    • Alexey Brodkin's avatar
      fdt: Implement weak arch_fixup_fdt() · 4280342a
      Alexey Brodkin authored
      
      Only ARM and in some configs MIPS really implement arch_fixup_fdt().
      Others just use the same boilerplate which is not good by itself,
      but what's worse if we try to build with disabled CONFIG_CMD_BOOTM
      and enabled CONFIG_OF_LIBFDT we'll hit an unknown symbol which was
      apparently implemented in arch/xxx/lib/bootm.c.
      
      Now with weak arch_fixup_fdt() right in image-fdt.c where it is
      used we get both items highlighted above fixed.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: York Sun <york.sun@nxp.com>
      Cc: Stefan Roese <sr@denx.de>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      4280342a
  6. Feb 14, 2018
  7. Oct 03, 2017
    • Paul Burton's avatar
      microblaze: Use asm-generic/io.h · dbee7152
      Paul Burton authored
      
      Convert the microblaze architecture to make use of the new
      asm-generic/io.h to provide address mapping functions. As the generic
      implementations are suitable for microblaze this is primarily a matter
      of removing code.
      
      Feedback from architecture maintainers is welcome.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      Cc: Michal Simek <monstr@monstr.eu>
      dbee7152
  8. Aug 16, 2017
  9. Aug 13, 2017
    • Philipp Tomsich's avatar
      spl: add hierarchical defaults for SPL_LDSCRIPT · b529993e
      Philipp Tomsich authored
      
      With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config
      node), all the lingering definitions in header files will cause
      warnings/errors due to the redefinition of the configuration item.
      
      As we don't want to pollute the defconfig files (and values should
      usually be identical for entire architectures), the defaults are moved
      into Kconfig.  Kconfig will always pick the first default that
      matches, so please keep these values at the end of each file (to allow
      any board-specific Kconfig, which will be included earlier) to
      override with an unconditional default setting.
      
      Signed-off-by: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      b529993e
  10. Jul 27, 2017
  11. Jul 26, 2017
  12. Jun 19, 2017
  13. May 08, 2017
    • Vikas Manocha's avatar
      spl: make image arg or fdt blob address reconfigurable · 5bf5250e
      Vikas Manocha authored
      
      At present fdt blob or argument address being passed to kernel is fixed at
      compile time using macro CONFIG_SYS_SPL_ARGS_ADDR. FDT blob from
      different media like nand, nor flash are copied to the address pointed
      by the macro.
      The problem is, it makes args/fdt blob compulsory to copy which is not required
      in cases like for NOR Flash. This patch removes this limitation.
      
      Signed-off-by: default avatarVikas Manocha <vikas.manocha@st.com>
      5bf5250e
  14. Feb 10, 2017
  15. Jan 24, 2017
  16. Dec 03, 2016
  17. Oct 19, 2016
  18. Oct 06, 2016
  19. Sep 23, 2016
  20. Jun 06, 2016
  21. Apr 04, 2016
  22. Mar 14, 2016
    • Simon Glass's avatar
      Kconfig: Move CONFIG_FIT and related options to Kconfig · 73223f0e
      Simon Glass authored
      
      There are already two FIT options in Kconfig but the CONFIG options are
      still in the header files. We need to do a proper move to fix this.
      
      Move these options to Kconfig and tidy up board configuration:
      
         CONFIG_FIT
         CONFIG_OF_BOARD_SETUP
         CONFIG_OF_SYSTEM_SETUP
         CONFIG_FIT_SIGNATURE
         CONFIG_FIT_BEST_MATCH
         CONFIG_FIT_VERBOSE
         CONFIG_OF_STDOUT_VIA_ALIAS
         CONFIG_RSA
      
      Unfortunately the first one is a little complicated. We need to make sure
      this option is not enabled in SPL by this change. Also this option is
      enabled automatically in the host builds by defining CONFIG_FIT in the
      image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
      be used in files that are built on the host but must also build for U-Boot
      and SPL.
      
      Note: Masahiro's moveconfig.py script is amazing.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      73223f0e
  23. Feb 24, 2016
    • Michal Simek's avatar
      microblaze: Add missing chosen node · 20434c8a
      Michal Simek authored
      
      fdtgrep requires /chosen node to be specified or at least more nodes which
      stays in DTS to generate output.
      Error message:
      ./tools/fdtgrep -b u-boot,dm-pre-reloc -RT dts/dt.dtb -n /chosen -O
      dtb | ./tools/fdtgrep -r -O dtb - -o spl/u-boot-spl.dtb -P pinctrl-0 -P
      pinctrl-names -P clocks -P clock-names -P interrupt-parent
      Error: FDT_ERR_BADMAGIC
      
      This patch add empty chosen node to keep fdtgrep happy and pass
      compilation for in tree DTS file.
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      20434c8a
  24. Feb 06, 2016
  25. Jan 27, 2016
  26. Jan 14, 2016
  27. Dec 18, 2015
  28. Nov 19, 2015
  29. Nov 10, 2015
    • Tom Rini's avatar
      Various Makefiles: Add SPDX-License-Identifier tags · da58dec8
      Tom Rini authored
      
      After consulting with some of the SPDX team, the conclusion is that
      Makefiles are worth adding SPDX-License-Identifier tags too, and most of
      ours have one.  This adds tags to ones that lack them and converts a few
      that had full (or in one case, very partial) license blobs into the
      equivalent tag.
      
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      da58dec8
  30. Nov 05, 2015
  31. Oct 24, 2015
  32. May 12, 2015
  33. Mar 28, 2015
Loading