1. 16 Jul, 2016 1 commit
    • Robert P. J. Day's avatar
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day authored
          Fix a number of typos, including:
      
           * "compatble" -> "compatible"
           * "eanbeld" -> "enabled"
           * "envrionment" -> "environment"
           * "FTD" -> "FDT" (for "flattened device tree")
           * "ommitted" -> "omitted"
           * "overriden" -> "overridden"
           * "partiton" -> "partition"
           * "propogate" -> "propagate"
           * "resourse" -> "resource"
           * "rest in piece" -> "rest in peace"
           * "suport" -> "support"
           * "varible" -> "variable"
      Signed-off-by: 's avatarRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  2. 06 May, 2016 1 commit
  3. 24 Jan, 2016 1 commit
  4. 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: 's avatarTom Rini <trini@konsulko.com>
      da58dec8
  5. 30 Apr, 2015 1 commit
  6. 24 Jan, 2015 3 commits
  7. 13 Dec, 2014 1 commit
  8. 25 Nov, 2014 6 commits
  9. 19 Feb, 2014 2 commits
    • Masahiro Yamada's avatar
      kbuild: use Linux Kernel build scripts · 6825a95b
      Masahiro Yamada authored
      Now we are ready to switch over to real Kbuild.
      
      This commit disables temporary scripts:
        scripts/{Makefile.build.tmp, Makefile.host.tmp}
      and enables real Kbuild scripts:
        scripts/{Makefile.build,Makefile.host,Makefile.lib}.
      
      This switch is triggered by the line in scripts/Kbuild.include
        -build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build.tmp obj
        +build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj
      
      We need to adjust some build scripts for U-Boot.
      But smaller amount of modification is preferable.
      
      Additionally, we need to fix compiler flags which are
      locally added or removed.
      
      In Kbuild, it is not allowed to change CFLAGS locally.
      Instead, ccflags-y, asflags-y, cppflags-y,
      CFLAGS_$(basetarget).o, CFLAGS_REMOVE_$(basetarget).o
      are prepared for that purpose.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: 's avatarGerhard Sittig <gsi@denx.de>
      6825a95b
    • Masahiro Yamada's avatar
      kbuild: change out-of-tree build · 9e414032
      Masahiro Yamada authored
      This commit changes the working directory
      where the build process occurs.
      
      Before this commit, build process occurred under the source
      tree for both in-tree and out-of-tree build.
      
      That's why we needed to add $(obj) prefix to all generated
      files in makefiles like follows:
        $(obj)u-boot.bin:  $(obj)u-boot
      
      Here, $(obj) is empty for in-tree build, whereas it points
      to the output directory for out-of-tree build.
      
      And our old build system changes the current working directory
      with "make -C <sub-dir>" syntax when descending into the
      sub-directories.
      
      On the other hand, Kbuild uses a different idea
      to handle out-of-tree build and directory descending.
      
      The build process of Kbuild always occurs under the output tree.
      When "O=dir/to/store/output/files" is given, the build system
      changes the current working directory to that directory and
      restarts the make.
      
      Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"
      syntax for descending into sub-directories.
      (We can write it like "make $(obj)=<sub-dir>" with a shorthand.)
      This means the current working directory is always the top
      of the output directory.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: 's avatarGerhard Sittig <gsi@denx.de>
      9e414032
  10. 24 Jan, 2014 1 commit
  11. 25 Nov, 2013 2 commits
  12. 17 Nov, 2013 2 commits
  13. 31 Oct, 2013 1 commit
  14. 02 Apr, 2013 1 commit
    • Linus Walleij's avatar
      biosemu: include <asm/io.h> header · b2da8038
      Linus Walleij authored
      This makes sure we have inline functions such as inb/outb that
      are used in these two files by including the arch-specific
      <asm/io.h> header. However the ARM version does not provide the
      accessors unless the config symbol __io is also defined so add
      that in front of the include.
      
      After this the bios emulator will compile on ARM systems.
      Signed-off-by: 's avatarLinus Walleij <linus.walleij@linaro.org>
      b2da8038
  15. 01 Apr, 2013 1 commit
    • York Sun's avatar
      Consolidate bool type · 472d5460
      York Sun authored
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      Signed-off-by: 's avatarYork Sun <yorksun@freescale.com>
      472d5460
  16. 15 May, 2012 1 commit
  17. 27 Nov, 2011 1 commit
  18. 16 Nov, 2011 1 commit
    • Kumar Gala's avatar
      drivers/bios_emulator/x86emu/ops.c: Fix GCC 4.6 build warning · 755cf792
      Kumar Gala authored
      Fix:
      
      x86emu/ops.c: In function 'x86emuOp_int3':
      x86emu/ops.c:3521:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      x86emu/ops.c: In function 'x86emuOp_int_IMM':
      x86emu/ops.c:3549:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      x86emu/ops.c: In function 'x86emuOp_into':
      x86emu/ops.c:3579:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
      x86emu/ops.c: In function 'x86emuOp_aad':
      x86emu/ops.c:3993:8: warning: variable 'a' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarKumar Gala <galak@kernel.crashing.org>
      755cf792
  19. 17 Oct, 2011 1 commit
  20. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: 's avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  21. 08 Apr, 2010 2 commits
  22. 17 Dec, 2009 1 commit
  23. 12 Oct, 2009 1 commit
  24. 29 Jul, 2009 1 commit
  25. 23 Jul, 2009 2 commits
  26. 07 Dec, 2008 1 commit
  27. 16 Oct, 2008 1 commit
  28. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
      53677ef1