1. 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: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarAnatolij Gustschin <agust@denx.de>
      e895a4b0
  2. 24 Sep, 2014 1 commit
    • Masahiro Yamada's avatar
      MAINTAINERS: comment out invalid maintainers · e5a504eb
      Masahiro Yamada authored
      The "S:    Orphan" in MAINTAINERS means that the maintainer in the
      "M:" field is unreachable (i.e. the email address is not working).
      (Refer to the definition of "Orphan" adopted in U-Boot
      in the log of commit 31f1b654,
      "boards.cfg: move boards with invalid emails to Orphan")
      
      For patch files adding global changes, scripts/get_maintainer.pl
      adds bunch of such invalid email addresses, which results in
      tons of annoying bounce emails.
      
      This commit can be reproduced by the following command:
      
      find . -name MAINTAINERS | xargs sed -i -e '
      /^M:[[:blank:]]/ {
            N
            /S:[[:blank:]]Orphan/s/^/#/
      }
      '
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      e5a504eb
  3. 13 Sep, 2014 1 commit
  4. 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
  5. 25 Nov, 2013 1 commit
  6. 01 Nov, 2013 1 commit
  7. 16 Oct, 2013 1 commit
  8. 14 Oct, 2013 1 commit
  9. 24 Jul, 2013 1 commit
  10. 15 Oct, 2011 1 commit
  11. 29 Jul, 2011 1 commit
  12. 04 Apr, 2011 2 commits
  13. 14 Jan, 2011 1 commit
    • Becky Bruce's avatar
      mpc85xx boards: initdram() cleanup/bugfix · 38dba0c2
      Becky Bruce authored
      Correct initdram to use phys_size_t to represent the size of
      dram; instead of changing this all over the place, and correcting
      all the other random errors I've noticed, create a
      common initdram that is used by all non-corenet 85xx parts.  Most
      of the initdram() functions were identical, with 2 common differences:
      
      1) DDR tlbs for the fixed_sdram case were set up in initdram() on
      some boards, and were part of the tlb_table on others.  I have
      changed them all over to the initdram() method - we shouldn't
      be accessing dram before this point so they don't need to be
      done sooner, and this seems cleaner.
      
      2) Parts that require the DDR11 erratum workaround had different
      implementations - I have adopted the version from the Freescale
      errata document.  It also looks like some of the versions were
      buggy, and, depending on timing, could have resulted in the
      DDR controller being disabled.  This seems bad.
      
      The xpedite boards had a common/fsl_8xxx_ddr.c; with this
      change only the 517 board uses this so I have moved the ddr code
      into that board's directory in xpedite517x.c
      Signed-off-by: default avatarBecky Bruce <beckyb@kernel.crashing.org>
      Tested-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      38dba0c2
  14. 09 Jan, 2011 1 commit
  15. 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
  16. 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
  17. 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: default avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
      48690d80
  18. 21 Apr, 2010 1 commit
  19. 13 Apr, 2010 1 commit
  20. 03 Oct, 2009 1 commit
  21. 24 Sep, 2009 1 commit
  22. 28 Aug, 2009 2 commits