1. 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>
  2. 09 Nov, 2015 2 commits
    • Zhenhua Luo's avatar
      mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition · 522b021a
      Zhenhua Luo authored
      In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in
      u-boot.lds overrides the linker built-in symbols
      so the linker is treating _GLOBAL_OFFSET_TABLE_ as a definition into the
      .reloc section.
      To align with the change of binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbol
      should not be defined in sections, and the symbols in linker generated .got
      section should be used(https://sourceware.org/ml/binutils/2008-09/
      Fixed the following build errors with binutils-2.25:
      | powerpc-poky-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in
      linker created .got
      Signed-off-by: default avatarZhenhua Luo <zhenhua.luo@freescale.com>
      Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
    • Måns Rullgård's avatar
      Replace "extern inline" with "static inline" · 44d0677a
      Måns Rullgård authored
      A number of headers define functions as "extern inline" which is
      causing problems with gcc5.  The reason is that starting with
      version 5.1, gcc defaults to the standard C99 semantics for the
      inline keyword.
      Under the traditional GNU inline semantics, an "extern inline"
      function would never create an external definition, the same
      as inline *without* extern in C99.  In C99, and "extern inline"
      definition is simply an external definition with an inline hint.
      In short, the meanings of inline with and without extern are
      swapped between GNU and C99.
      The upshot is that all these definitions in header files create
      an external definition wherever those headers are included,
      resulting in multiple definition errors at link time.
      Changing all these functions to "static inline" fixes the problem
      since this works as desired in all gcc versions.  Although the
      semantics are slightly different (a static inline definition may
      result in an actual function being emitted), it works as intended
      in practice.
      This patch also removes extern prototype declarations for the
      changed functions where they existed.
      Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
  3. 07 Nov, 2015 1 commit
    • Michal Simek's avatar
      ARM64: zynqmp: Sync zynq_sdhci_init() declaration · e490ad25
      Michal Simek authored
      This patch fix compilation error:
      drivers/mmc/zynq_sdhci.c:16:5: error: conflicting types for
       int zynq_sdhci_init(phys_addr_t regbase)
      In file included from drivers/mmc/zynq_sdhci.c:14:0:
      ./arch/arm/include/asm/arch/sys_proto.h:16:5: note: previous declaration
      of ‘zynq_sdhci_init’ was here
       int zynq_sdhci_init(unsigned long regbase);
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
  4. 06 Nov, 2015 33 commits
  5. 05 Nov, 2015 3 commits