1. 25 Aug, 2014 1 commit
    • Heiko Schocher's avatar
      mtd, ubi, ubifs: resync with Linux-3.14 · ff94bc40
      Heiko Schocher authored
      resync ubi subsystem with linux:
      
      commit 455c6fdbd219161bd09b1165f11699d6d73de11c
      Author: Linus Torvalds <torvalds@linux-foundation.org>
      Date:   Sun Mar 30 20:40:15 2014 -0700
      
          Linux 3.14
      
      A nice side effect of this, is we introduce UBI Fastmap support
      to U-Boot.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Sergey Lapin <slapin@ossfans.org>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Joerg Krause <jkrause@posteo.de>
      ff94bc40
  2. 30 Jul, 2014 2 commits
    • Masahiro Yamada's avatar
      Add board MAINTAINERS files · 93d4334f
      Masahiro Yamada authored
      We have switched to Kconfig and the boards.cfg file is going to
      be removed. We have to retrieve the board status and maintainers
      information from it.
      
      The MAINTAINERS format as in Linux Kernel would be nice
      because we can crib the scripts/get_maintainer.pl script.
      
      After some discussion, we chose to put a MAINTAINERS file under each
      board directory, not the top-level one because we want to collect
      relevant information for a board into a single place.
      
      TODO:
      Modify get_maintainer.pl to scan multiple MAINTAINERS files.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: default avatarTom Rini <trini@ti.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      93d4334f
    • Masahiro Yamada's avatar
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada authored
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      dd84058d
  3. 17 Apr, 2014 1 commit
  4. 24 Jan, 2014 2 commits
  5. 17 Nov, 2013 1 commit
  6. 01 Nov, 2013 2 commits
  7. 17 Oct, 2013 1 commit
    • Stefan Roese's avatar
      arm: Remove IXP425 boards pdnb3 and scpu · 304db0b3
      Stefan Roese authored
      Remove Prodrive pdnb3 board (including the scpu variant) support
      from mainline. As its unmaintained and not needed any more for
      quite some time.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Martijn de Gouw <martijn.de.gouw@prodrive.nl>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      304db0b3
  8. 14 Oct, 2013 1 commit
  9. 24 Jul, 2013 1 commit
  10. 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>
      472d5460
  11. 13 Dec, 2012 1 commit
  12. 17 Oct, 2012 1 commit
  13. 15 Oct, 2012 2 commits
    • Marek Vasut's avatar
      serial: Remove CONFIG_SERIAL_MULTI from serial drivers · a3827250
      Marek Vasut authored
      Remove the support for not-CONFIG_SERIAL_MULTI part from serial
      port drivers and some board files. Since CONFIG_SERIAL_MULTI is
      now enabled by default, that part is a dead code. Remove it.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      a3827250
    • Marek Vasut's avatar
      serial: powerpc: Implement CONFIG_SERIAL_MULTI into p3mx serial driver · 088a4f3c
      Marek Vasut authored
      Implement support for CONFIG_SERIAL_MULTI into p3mx serial driver.
      This driver was so far only usable directly, but this patch also adds
      support for the multi method. This allows using more than one serial
      driver alongside the p3mx driver. Also, add a weak implementation
      of default_serial_console() returning this driver.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      088a4f3c
  14. 23 May, 2012 2 commits
  15. 30 Mar, 2012 1 commit
  16. 26 Mar, 2012 2 commits
    • Marek Vasut's avatar
      IXP: Fix NAND build warning on PDNB3 and SCPU · 44e63c22
      Marek Vasut authored
      nand.c: In function ‘pdnb3_nand_read_buf’:
      nand.c:107:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      nand.c: In function ‘pdnb3_nand_dev_ready’:
      nand.c:124:18: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
      
      Remove the 4-byte-at-time read mode altogether, the most is bogus and will
      likely cause unaligned accesses.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Bryan Hundven <bryanhundven@gmail.com>
      Cc: Michael Schwingen <rincewind@discworld.dascon.de>
      44e63c22
    • Marek Vasut's avatar
      IXP: Fix missing MACH_TYPE_{ACTUX?,PNB3,DVLHOST} · 8e807ec3
      Marek Vasut authored
      These symbols are no longer defined in Linux-ARM's mach-types files. Replace
      these with CONFIG_MACH_TYPE instead.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Bryan Hundven <bryanhundven@gmail.com>
      Cc: Michael Schwingen <rincewind@discworld.dascon.de>
      8e807ec3
  17. 18 Mar, 2012 1 commit
    • Mike Frysinger's avatar
      net/miiphy/serial: drop duplicate "NAMESIZE" define · f6add132
      Mike Frysinger authored
      A few subsystems are using the same define "NAMESIZE".  This has been
      working so far because they define it to the same number.  However, I
      want to change the size of eth_device's NAMESIZE, so rather than tweak
      the define names, simply drop references to it.  Almost no one does,
      and the handful that do can easily be changed to a sizeof().
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      f6add132
  18. 06 Mar, 2012 1 commit
  19. 04 Mar, 2012 1 commit
    • Linus Walleij's avatar
      pci: move pciauto_config_init() to pci.h · a1e47b66
      Linus Walleij authored
      Fixing build regressions for the Integrator I get find that a few
      boards try to work around the missing declaration of
      pciauto_config_init() by declaring it in the local scope. This
      does not make sense when the sibling functions are in <pci.h>
      so move the function to the header, ridding the build error
      in the Integrator and getting rid of the local declarations
      here and there.
      Reported-by: default avatarWolfgang Denk <wd@denx.de>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      a1e47b66
  20. 01 Dec, 2011 1 commit
  21. 03 Nov, 2011 1 commit
    • Wolfgang Denk's avatar
      board/prodrive/p3mx/mv_eth.c: fix GCC 4.6 build warnings · ec98a9bd
      Wolfgang Denk authored
      Fix:
      mv_eth.c: In function 'mv64460_eth_real_open':
      mv_eth.c:471:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable]
      mv_eth.c: In function 'mv64460_eth_stop':
      mv_eth.c:722:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
      mv_eth.c: In function 'mv64460_eth_xmit':
      mv_eth.c:796:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
      mv_eth.c: In function 'mv64460_eth_receive':
      mv_eth.c:877:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
      mv_eth.c: In function 'mv64460_eth_get_stats':
      mv_eth.c:979:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
      mv_eth.c: In function 'mv64460_eth_update_stat':
      mv_eth.c:1006:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
      mv_eth.c:1005:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
      mv_eth.c: In function 'mv64460_eth_print_stat':
      mv_eth.c:1087:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
      mv_eth.c: In function 'eth_clear_mib_counters':
      mv_eth.c:2141:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      ec98a9bd
  22. 15 Oct, 2011 1 commit
  23. 05 Sep, 2011 2 commits
  24. 23 Jun, 2011 1 commit
  25. 12 May, 2011 1 commit
    • Wolfgang Denk's avatar
      Fix incorrect use of getenv() before relocation · f0c0b3a9
      Wolfgang Denk authored
      A large number of boards incorrectly used getenv() in their board init
      code running before relocation.  In some cases this caused U-Boot to
      hang when certain environment variables grew too long.
      Fix the code to use getenv_r().
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: The LEOX team <team@leox.org>
      Cc: Michael Schwingen <michael@schwingen.org>
      Cc: Georg Schardt <schardt@team-ctech.de>
      Cc: Werner Pfister <Pfister_Werner@intercontrol.de>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: Peter De Schrijver <p2@mind.be>
      Cc: John Zhan <zhanz@sinovee.com>
      Cc: Rishi Bhattacharya <rishi@ti.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      f0c0b3a9
  26. 09 Jan, 2011 1 commit
  27. 28 Nov, 2010 1 commit
  28. 27 Nov, 2010 1 commit
  29. 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: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  30. 26 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk authored
      CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
      being able to use "sizeof(struct global_data)" in assembler files.
      Recent experience has shown that manual synchronization is not
      reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
      GENERATED_GBL_DATA_SIZE which gets automatically generated by the
      asm-offsets tool.  In the result, all definitions of this value can be
      deleted from the board config files.  We have to make sure that all
      files that reference such data include the new <asm-offsets.h> file.
      
      No other changes have been done yet, but it is obvious that similar
      changes / simplifications can be done for other, related macro
      definitions as well.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
  31. 18 Oct, 2010 2 commits
    • Wolfgang Denk's avatar
      Makefile: move all Power Architecture boards into boards.cfg · 2ae18241
      Wolfgang Denk authored
      Clean up Makefile, and drop a lot of the config.mk files on the way.
      
      We now also automatically pick all boards that are listed in
      boards.cfg (and with all configurations), so we can drop the redundant
      entries from MAKEALL to avoid building these twice.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      2ae18241
    • Wolfgang Denk's avatar
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk authored
      The change is currently needed to be able to remove the board
      configuration scripting from the top level Makefile and replace it by
      a simple, table driven script.
      
      Moving this configuration setting into the "CONFIG_*" name space is
      also desirable because it is needed if we ever should move forward to
      a Kconfig driven configuration system.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      14d0a02a
  32. 23 Sep, 2010 1 commit
    • Stefan Roese's avatar
      ppc4xx: Use common NS16550 driver for PPC4xx UART · 550650dd
      Stefan Roese authored
      This patch removes the PPC4xx UART driver. Instead the common NS16550
      driver is used, since all PPC4xx SoC's use this peripheral device.
      
      The file 4xx_uart.c now only implements the UART clock calculation
      function which also sets the SoC internal UART divisors.
      
      All PPC4xx board config headers are changed to use this common NS16550
      driver now.
      
      Tested on these boards:
      acadia, canyonlands, katmai, kilauea, sequoia, zeus
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      550650dd