1. 21 Jan, 2017 1 commit
    • Uri Mashiach's avatar
      status_led: Kconfig migration · 2d8d190c
      Uri Mashiach authored
      Move all of the status LED feature to drivers/led/Kconfig.
      The LED status definitions were moved from the board configuration
      files to the defconfig files.
      
      TBD: Move all of the definitions in the include/status_led.h to the
      relevant board's defconfig files.
      
      Tested boards: CL-SOM-AM57x, CM-T335
      Signed-off-by: 's avatarUri Mashiach <uri.mashiach@compulab.co.il>
      2d8d190c
  2. 27 May, 2016 1 commit
  3. 21 Nov, 2014 1 commit
    • Simon Glass's avatar
      fdt: Allow ft_board_setup() to report failure · e895a4b0
      Simon Glass authored
      This function can fail if the device tree runs out of space. Rather than
      silently booting with an incomplete device tree, allow the failure to be
      detected.
      
      Unfortunately this involves changing a lot of places in the code. I have
      not changed behvaiour to return an error where one is not currently
      returned, to avoid unexpected breakage.
      
      Eventually it would be nice to allow boards to register functions to be
      called to update the device tree. This would avoid all the many functions
      to do this. However it's not clear yet if this should be done using driver
      model or with a linker list. This work is left for later.
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
      Acked-by: 's avatarAnatolij Gustschin <agust@denx.de>
      e895a4b0
  4. 24 Sep, 2014 1 commit
    • Masahiro Yamada's avatar
      MAINTAINERS: comment out blank M: field · 535aad29
      Masahiro Yamada authored
      Since commit ddaf5c8f
      (patman: RunPipe() should not pipe stdout/stderr unless asked),
      Patman spits lots of "Invalid MAINTAINERS address: '-'"
      error messages for patches with global changes.
      It takes too long for Patman to process them.
      
      Anyway, "M:    -" does not carry any important information.
      Rather, it is just like a place holder in case of assigning
      a new board maintainer.  Let's comment out.
      
      This commit can be reproduced by the following command:
      
      find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      535aad29
  5. 13 Sep, 2014 1 commit
  6. 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: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: 's avatarTom Rini <trini@ti.com>
      Acked-by: 's 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: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      dd84058d
  7. 01 Nov, 2013 1 commit
  8. 24 Jul, 2013 1 commit
  9. 15 Oct, 2011 1 commit
  10. 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
  11. 18 Oct, 2010 3 commits
  12. 09 Aug, 2010 1 commit
    • Heiko Schocher's avatar
      net ppc: fix ethernet device names with spaces · 48690d80
      Heiko Schocher authored
      since commit 1384f3bb ethernet names
      with spaces drop a
      
      Warning: eth device name has a space!
      
      message. This patch fix it for:
      
      - "FEC ETHERNET" devices found on
        mpc512x, mpc5xxx, mpc8xx and mpc8220 boards.
        renamed to "FEC".
      - "SCC ETHERNET" devices found on
        mpc8xx, mpc82xx based boards. Renamed to "SCC".
      - "HDLC ETHERNET" devices found on mpc8xx boards
        Renamed to "HDLC"
      - "FCC ETHERNET" devices found on mpc8260 and mpc85xx based
        boards. Renamed to "FCC"
      
      Tested on the kup4k board.
      Signed-off-by: 's avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: 's avatarBen Warren <biggerbadderben@gmail.com>
      48690d80
  13. 21 Oct, 2008 1 commit
  14. 18 Oct, 2008 1 commit
  15. 02 Jul, 2008 1 commit
  16. 12 Jun, 2008 1 commit
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      MPC8641HPCN.
      Signed-off-by: 's avatarBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
  17. 23 Oct, 2007 1 commit
  18. 06 Sep, 2007 1 commit
    • Grant Likely's avatar
      Migrate 5xxx boards from CONFIG_OF_FLAT_TREE to CONFIG_OF_LIBFDT · cf2817a8
      Grant Likely authored
      Affects boards: icecube (lite5200), jupiter, motionpro, tqm5200
      
      Tested on: lite5200b
      
      Note: the fixup functions have not been moved to a common place.  This
      patch is targeted for immediate merging as in solves a build issue, but
      the final name/location of the fixups is still subject to debate.  I
      propose to merge this now, and move the fixups in the next merge window
      to be usable by all targets.
      Signed-off-by: 's avatarGrant Likely <grant.likely@secretlab.ca>
      cf2817a8
  19. 03 Jul, 2007 1 commit
  20. 27 May, 2007 4 commits
  21. 08 May, 2007 1 commit
  22. 27 Feb, 2007 1 commit
  23. 09 Feb, 2007 1 commit