1. 06 Feb, 2016 1 commit
  2. 21 Jan, 2016 1 commit
  3. 05 Nov, 2015 1 commit
  4. 28 Aug, 2015 2 commits
  5. 12 May, 2015 1 commit
  6. 18 Apr, 2015 1 commit
  7. 24 Mar, 2015 1 commit
    • Rob Herring's avatar
      remove unnecessary version.h includes · 7682a998
      Rob Herring authored
      Various files are needlessly rebuilt every time due to the version and
      build time changing. As version.h is not actually needed, remove the
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Tom Warren <twarren@nvidia.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: York Sun <yorksun@freescale.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Philippe Reynes <tremyfr@yahoo.fr>
      Cc: Eric Jarrige <eric.jarrige@armadeus.org>
      Cc: "David Müller" <d.mueller@elsoft.ch>
      Cc: Phil Edworthy <phil.edworthy@renesas.com>
      Cc: Robert Baldyga <r.baldyga@samsung.com>
      Cc: Torsten Koschorrek <koschorrek@synertronixx.de>
      Cc: Anatolij Gustschin <agust@denx.de>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarŁukasz Majewski <l.majewski@samsung.com>
  8. 09 Feb, 2015 1 commit
  9. 08 Dec, 2014 1 commit
  10. 23 Nov, 2014 2 commits
  11. 13 Sep, 2014 1 commit
  12. 30 Jul, 2014 2 commits
  13. 12 May, 2014 1 commit
    • Masahiro Yamada's avatar
      bd_info: remove bi_barudrate member from struct bd_info · 8e261575
      Masahiro Yamada authored
      gd->bd->bi_baudrate is a copy of gd->baudrate.
      Since baudrate is a common feature for all architectures,
      keep gd->baudrate only.
      It is true that bi_baudrate was passed to the kernel in that structure
      but it was a long time ago.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Acked-by: Michal Simek <monstr@monstr.eu> (For microblaze)
  14. 28 Mar, 2014 1 commit
    • Masahiro Yamada's avatar
      kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib · 254d68b6
      Masahiro Yamada authored
      U-Boot has supported two kinds of asm-offsets.h.
      One is generic for all architectures and its source is located at
      The other is SoC specific and its source is under SoC directory.
      The problem here is that only boards with SoC directory can use
      the asm-offsets infrastructure.
      Putting asm-offsets.c right under CPU directory does not work.
      Now a new demand is coming. PowerPC folks want to use asm-offsets.
      But no PowerPC boards have SoC directory.
      It seems inconsistent that some boards add asm-offsets.c to SoC
      directoreis and some to CPU directories.
      It looks more reasonable to put asm-offsets.c under arch/$(ARCH)/lib.
      This commit merges asm-offsets.c under SoC directories into
      By the way, I doubt the necessity of some entries in asm-offsets.c.
      I am leaving refactoring to the board maintainers.
      Please check "TODO" in the comment blocks in
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Yuantian Tang <Yuantian.Tang@freescale.com>
  15. 07 Mar, 2014 1 commit
  16. 04 Mar, 2014 1 commit
  17. 19 Feb, 2014 2 commits
    • Masahiro Yamada's avatar
      kbuild: add dummy obj-y to create built-in.o · 7c8278a8
      Masahiro Yamada authored
      We are going to switch over to Kbuild in upcoming commits.
      Each makefile must have non-empty obj- or obj-y
      to generate built-in.o on Kbuild.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
    • 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
      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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
  18. 28 Jan, 2014 1 commit
  19. 01 Nov, 2013 1 commit
  20. 08 Aug, 2013 1 commit
    • ken kuo's avatar
      nds32: introduce DMA allocation API · 9f128bcc
      ken kuo authored
      U-Boot does not compile for the adp-ag101 boards since
      commit a8f9cd18
      (net: update FTGMAC100 for MMU/D-cache support)
      The driver assumes that the DMA allocation API are provided by all
      architectures. This is not the case for nds32 and it causes a
      build error. This patch adds DMA allocation API to avoid the errors.
      Signed-off-by: default avatarKuan-Yu Kuo <ken.kuoky@gmail.com>
      Cc: Macpaul Lin <macpaul@gmail.com>
      Cc: Andes <uboot@andestech.com>
      Signed-off-by: default avatarAndes <uboot@andestech.com>
  21. 25 Jul, 2013 3 commits
  22. 24 Jul, 2013 5 commits
    • Wolfgang Denk's avatar
      Add GPL-2.0+ SPDX-License-Identifier to source files · 1a459660
      Wolfgang Denk authored
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      [trini: Fixup common/cmd_io.c]
      Signed-off-by: default avatarTom Rini <trini@ti.com>
    • Axel Lin's avatar
      nds32: ag101/ag102: Fix setting lastdec and now values · 4fc96705
      Axel Lin authored
      The timer3 counter unit for lastdesc and now values are inconsistent in current
      code. The unit of "readl(&tmr->timer3_counter) / (CONFIG_SYS_CLK_FREQ / 2)" is
      second. However, CONFIG_SYS_HZ is defined as 1000 in board config file.
      This means the accuracy of "lastdec" and "now" should be in millisecond,
      thus fix the equation to set lastdec and now variables accordingly.
      Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
    • ken kuo's avatar
      nds32: Enable the function of passing parameters to Linux · e3c58b02
      ken kuo authored
      Add a header file, setup.h, which copy from Linux source code,
      this file contain structures are used to pass initialisation parameters
      to Linux. Enable this function on adp-ag101/adp-ag101p target
      Signed-off-by: default avatarKuan-Yu Kuo <ken.kuoky@gmail.com>
      Cc: Macpaul Lin <macpaul@gmail.com>
    • ken kuo's avatar
      nds32: Enable two banks of SDRAM on Andes board · 3c016704
      ken kuo authored
      The original adp-ag101/adp-ag101p initialize only one bank(64MB)
      by default at boot time, but it is not enough for some application,
      so increasing to two banks(128M).
      Signed-off-by: default avatarKuan-Yu Kuo <ken.kuoky@gmail.com>
      Cc: Macpaul Lin <macpaul@gmail.com>
    • Gabor Juhos's avatar
      nds32: introduce macros for bit manipulation · bea2868f
      Gabor Juhos authored
      U-Boot does not compile for the adp-ag101 boards since
      commit f6c3b346 (mmc:
      update Faraday FTSDC010 for rw performance)
      The driver assumes that the bit manipulation macros
      are provided by all architectures. This is not the
      case for nds32 and it causes a build error like this:
        ftsdc010_mci.c: In function 'ftsdc010_clkset':
        ftsdc010_mci.c:118: warning: implicit declaration of function 'setbits_le32'
        ftsdc010_mci.c:123: warning: implicit declaration of function 'clrbits_le32'
        drivers/mmc/libmmc.o: In function `ftsdc010_request':
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:234: undefined reference to `setbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:243: undefined reference to `clrbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:234: undefined reference to `clrbits_le32'
        drivers/mmc/libmmc.o: In function `ftsdc010_clkset':
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:118: undefined reference to `clrbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:118: undefined reference to `clrbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:121: undefined reference to `setbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:123: undefined reference to `setbits_le32'
        /devel/u-boot.git/drivers/mmc/ftsdc010_mci.c:123: undefined reference to `setbits_le32'
      The patch adds bit manipulation macros for the
      nds32 architecture to avoid the errors. The macros
      are copied from the ARM implementation.
      Compile tested only.
      Cc: Kuo-Jung Su <dantesu@faraday-tech.com>
      Cc: Macpaul Lin <macpaul@andestech.com>
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
  23. 23 Jul, 2013 1 commit
  24. 16 Jul, 2013 1 commit
  25. 02 Jul, 2013 1 commit
  26. 08 May, 2013 1 commit
  27. 01 May, 2013 1 commit
  28. 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: default avatarYork Sun <yorksun@freescale.com>
  29. 15 Mar, 2013 2 commits
    • Simon Glass's avatar
      Change stub example to use asm-generic/sections.h · 716cc8cc
      Simon Glass authored
      We can use the declarations of __bss_start and _end from this header
      instead of declaring them locally.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    • Simon Glass's avatar
      Introduce generic link section.h symbol files · 18652864
      Simon Glass authored
      We create a separate header file for link symbols defined by the link
      scripts. It is helpful to have these all in one place and try to
      make them common across architectures. Since Linux already has a similar
      file, we bring this in even though many of the symbols there are not
      relevant to us.
      Each architecture has its own asm/sections.h where symbols specifc to
      that architecture can be added. For now everything except AVR32 just
      includes the generic header.
      One change is needed in arch/avr32/lib/board.c to make this conversion
      Reviewed-by: Tom Rini <trini@ti.com> (version 5)
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>