Skip to content
Snippets Groups Projects
  1. Aug 16, 2018
    • Tom Rini's avatar
      configs: Migrate CONFIG_NR_DRAM_BANKS · 86cf1c82
      Tom Rini authored
      
      We have the following cases:
      - CONFIG_NR_DRAM_BANKS was defined, migrate normally
      - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
        CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
      - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
        2), set this to 8.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      86cf1c82
  2. Jul 30, 2018
  3. Jul 19, 2018
  4. Jun 18, 2018
  5. 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
  6. Apr 27, 2018
  7. 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
  8. Feb 14, 2018
  9. 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
  10. Aug 16, 2017
  11. 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
  12. Jul 27, 2017
  13. Jul 26, 2017
  14. Jun 19, 2017
  15. 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
  16. Feb 10, 2017
  17. Jan 24, 2017
  18. Dec 03, 2016
  19. Oct 19, 2016
  20. Oct 06, 2016
  21. Sep 23, 2016
  22. Jun 06, 2016
  23. Apr 04, 2016
  24. 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
  25. 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
  26. Feb 06, 2016
  27. Jan 27, 2016
  28. Jan 14, 2016
  29. Dec 18, 2015
  30. Nov 19, 2015
Loading