1. 20 Feb, 2020 2 commits
  2. 27 Aug, 2019 3 commits
  3. 26 Apr, 2019 4 commits
  4. 28 Sep, 2018 1 commit
  5. 20 Sep, 2018 1 commit
  6. 11 Sep, 2018 4 commits
  7. 05 Sep, 2018 1 commit
  8. 28 Mar, 2018 1 commit
  9. 19 Feb, 2018 2 commits
  10. 06 Feb, 2018 1 commit
  11. 01 Nov, 2017 5 commits
    • Michael Gloff's avatar
      inline: use the gcc inline version instead of the c99 one. · 1213b175
      Michael Gloff authored
      
      
      This fixes errors like:
      
      make[1]: Entering directory `/home/jeroen/software/u-boot/arch/arm/cpu/armv7/omap-common'
      arm-linux-gnueabi-ld.bfd  -r -o libomap-common.o  reset.o timer.o utils.o
      timer.o: In function `get_tbclk':
      /home/jeroen/software/u-boot/include/asm/io.h:81: multiple definition of `__raw_writesb'
      reset.o:/home/jeroen/software/u-boot/include/asm/io.h:81: first defined here
      timer.o: In function `__udelay':
      /home/jeroen/software/u-boot/include/asm/io.h:88: multiple definition of `__raw_writesw'
      reset.o:/home/jeroen/software/u-boot/include/asm/io.h:88: first defined here
      timer.o: In function `get_ticks':
      /home/jeroen/software/u-boot/include/asm/io.h:95: multiple definition of `__raw_writesl'
      reset.o:/home/jeroen/software/u-boot/include/asm/io.h:95: first defined here
      timer.o: In function `__raw_readsb':
      /home/jeroen/software/u-boot/include/asm/io.h:102: multiple definition of `__raw_readsb'
      reset.o:/home/jeroen/software/u-boot/include/asm/io.h:102: first defined here
      timer.o: In function `__raw_readsw':
      /home/jeroen/software/u-boot/include/asm/io.h:109: multiple definition of `__raw_readsw'
      reset.o:/home/jeroen/software/u-boot/include/asm/io.h:109: first defined here
      timer.o: In function `__raw_readsl':
      /home/jeroen/software/u-boot/include/asm/io.h:116: multiple definition of `__raw_readsl'
      reset.o:/home/jeroen/software/u-boot/include/asm/io.h:116: first defined here
      make[1]: *** [libomap-common.o] Error 1
      make[1]: Leaving directory `/home/jeroen/software/u-boot/arch/arm/cpu/armv7/omap-common'
      make: *** [arch/arm/cpu/armv7/omap-common/libomap-common.o] Error 2
      
      Jeroen Hofstee jeroen at myspectrum.nl
      Sat May 31 22:32:22 CEST 2014
      Signed-off-by: Michael Gloff's avatarMichael Gloff <mgloff@emacinc.com>
      1213b175
    • Tom Rini's avatar
      compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6 · 7a8d70fb
      Tom Rini authored and Michael Gloff's avatar Michael Gloff committed
      
      
      Copy these from Linux v4.5-rc6 tag.
      
      This is needed so that we can keep up with newer gcc versions.  Note
      that we don't have the uapi/ hierarchy from the kernel so continue to
      use <linux/types.h>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      7a8d70fb
    • Jeroen Hofstee's avatar
      compiler_gcc: prevent redefining attributes · 0e21cfa8
      Jeroen Hofstee authored and Michael Gloff's avatar Michael Gloff committed
      The libc headers on FreeBSD and likely related projects as well contain an
      header file, cdefs.h which provides similiar functionality as linux/compiler.h.
      It provides compiler independent defines like __weak __packed, to allow
      compiling with multiple compilers which might have a different syntax for such
      extension.
      
      Since that header file is included in multiple standard headers, like stddef.h
      and stdarg.h, multiple definitions of those defines will be present if both are
      included. When compiling u-boot the compiler will warn about it hundreds of
      times since e.g. common.h will include both files indirectly.
      
      commit 7ea50d52
      
       "compiler_gcc: do not redefine
      __gnu_attributes" prevented such redefinitions, but this was undone by commit
      fb8ffd7cfc68b3dc44e182356a207d784cb30b34 "compiler*.h: sync
      include/linux/compiler*.h with Linux 3.16".
      
      Add the checks back where necessary to prevent such warnings.
      
      As the original patch this checkpatch warning is ignored:
      "WARNING: Adding new packed members is to be done with care"
      
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Tom Rini <trini@ti.com>
      Signed-off-by: default avatarJeroen Hofstee <jeroen@myspectrum.nl>
      Acked-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      0e21cfa8
    • Masahiro Yamada's avatar
      compiler*.h: sync include/linux/compiler*.h with Linux 3.16 · 5b09eb5c
      Masahiro Yamada authored and Michael Gloff's avatar Michael Gloff committed
      
      
      Copy them from Linux v3.16 tag.
      My main motivation of this commit is to add compiler-clang.h.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
      5b09eb5c
    • Michael Gloff's avatar
      Revert "Backport patches to enable compilation with GCC 5." · b7ce9b24
      Michael Gloff authored
      This reverts commit 7faba75b.
      b7ce9b24
  12. 05 Oct, 2017 3 commits
  13. 04 Oct, 2017 1 commit
  14. 20 Jul, 2017 1 commit
  15. 18 Jul, 2017 1 commit
  16. 15 Jul, 2016 2 commits
  17. 13 Jul, 2016 2 commits
  18. 06 Jun, 2016 3 commits
  19. 01 Jun, 2016 1 commit
  20. 12 May, 2016 1 commit