1. 16 Sep, 2016 1 commit
    • Simon Glass's avatar
      Use separate options for TPL support · 76f1f388
      Simon Glass authored
      At present TPL uses the same options as SPL support. In a few cases the board
      config enables or disables the SPL options depending on whether
      CONFIG_TPL_BUILD is defined.
      
      With the move to Kconfig, options are determined for the whole build and
      (without a hack like an #undef in a header file) cannot be controlled in this
      way.
      
      Create new TPL options for these and update users. This will allow Kconfig
      conversion to proceed for these boards.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      76f1f388
  2. 20 Aug, 2016 1 commit
  3. 15 Aug, 2016 1 commit
  4. 15 Jul, 2016 4 commits
  5. 06 Jun, 2016 1 commit
  6. 30 May, 2016 1 commit
  7. 24 May, 2016 1 commit
  8. 23 May, 2016 6 commits
  9. 02 May, 2016 1 commit
  10. 17 Mar, 2016 1 commit
  11. 08 Feb, 2016 3 commits
  12. 06 Feb, 2016 1 commit
  13. 02 Feb, 2016 2 commits
  14. 30 Jan, 2016 1 commit
  15. 25 Jan, 2016 2 commits
    • Tom Rini's avatar
      kbuild: Add clang detection · 29c4d281
      Tom Rini authored
      Adapted from:
      
      >From 5631d9c429857194bd55d7bcd8fa5bdd1a9899a3 Mon Sep 17 00:00:00 2001
      From: Michal Marek <mmarek@suse.com>
      Date: Wed, 19 Aug 2015 17:36:41 +0200
      Subject: [PATCH 1/1] kbuild: Fix clang detection
      
      We cannot detect clang before including the arch Makefile, because that
      can set the default cross compiler. We also cannot detect clang after
      including the arch Makefile, because powerpc wants to know about clang.
      Solve this by using an deferred variable. This costs us a few shell
      invocations, but this is only a constant number.
      Reported-by: default avatarBehan Webster <behanw@converseincode.com>
      Reported-by: default avatarAnton Blanchard <anton@samba.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
      
      in the Linux kernel.
      
      This will allow us to make better decisions about when to run tests
      later on for gcc features.
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      29c4d281
    • Simon Glass's avatar
      Move all command code into its own directory · 72a8cf8d
      Simon Glass authored
      There are a lot of unrelated files in common, including all of the commands.
      Moving them into their own directory makes them easier to find and is more
      logical.
      
      Some commands include non-command code, such as cmd_scsi.c. This should be
      sorted out at some point so that the function can be enabled with or without
      the associated command.
      
      Unfortunately, with m68k I get this error:
      
      m68k:  +   M5329AFEE
      +arch/m68k/cpu/mcf532x/start.o: In function `_start':
      +arch/m68k/cpu/mcf532x/start.S:159:(.text+0x452): relocation truncated to fit: R_68K_PC16 against symbol `board_init_f' defined in .text.board_init_f section in common/built-in.o
      
      I hope someone can shed some light on what this means. I hope it isn't
      depending on the position of code in the image.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      Acked-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      72a8cf8d
  16. 19 Jan, 2016 2 commits
  17. 15 Jan, 2016 1 commit
  18. 08 Jan, 2016 1 commit
  19. 04 Jan, 2016 1 commit
    • Heiko Schocher's avatar
      checkpatch: fix left brace warning · d8a1a304
      Heiko Schocher authored
      using checkpatch with Perl 5.22.0 generates a warning,
      this is fixed in linux through commit:
      
      commit 4e5d56bdf892e18832a6540b63ebf709966bce2a
      Author: Eddie Kovsky <ewk@edkovsky.org>
      Date:   Wed Sep 9 15:37:52 2015 -0700
      
      checkpatch: fix left brace warning
      
      Using checkpatch.pl with Perl 5.22.0 generates the following warning:
      
      Unescaped left brace in regex is deprecated, passed through in regex;
      
      This patch fixes the warnings by escaping occurrences of the left brace
      inside the regular expression.
      
      Adapt it for U-Boot.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      d8a1a304
  20. 19 Nov, 2015 1 commit
  21. 12 Nov, 2015 2 commits
  22. 10 Nov, 2015 1 commit
    • 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
  23. 04 Nov, 2015 1 commit
  24. 24 Oct, 2015 1 commit
    • Simon Glass's avatar
      Move board_init_f_mem() into a common location · af6bbd4d
      Simon Glass authored
      This function will be used by both SPL and U-Boot proper. So move it into
      a common place. Also change the #ifdef so that the early malloc() area is
      not set up in SPL if CONFIG_SYS_SPL_MALLOC_START is defined. In that case
      it would never actually be used, and just chews up stack space.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      af6bbd4d
  25. 15 Sep, 2015 1 commit
  26. 26 Aug, 2015 1 commit
    • Saket Sinha's avatar
      x86: Generate a valid ACPI table · 867bcb63
      Saket Sinha authored
      Implement write_acpi_table() to create a minimal working ACPI table.
      This includes writing FACS, XSDT, RSDP, FADT, MCFG, MADT, DSDT & SSDT
      ACPI table entries.
      
      Use a Kconfig option GENERATE_ACPI_TABLE to tell U-Boot whether we need
      actually write the APCI table just like we did for PIRQ routing, MP table
      and SFI tables. With ACPI table existence, linux kernel gets control of
      power management, thermal management, configuration management and
      monitoring in hardware.
      Signed-off-by: default avatarSaket Sinha <saket.sinha89@gmail.com>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Tidied up whitespace and aligned some tabs:
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      867bcb63