Skip to content
Snippets Groups Projects
  1. Sep 13, 2014
  2. Jul 30, 2014
    • 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. Nov 01, 2013
  4. Oct 14, 2013
  5. Jul 24, 2013
  6. Oct 15, 2011
  7. May 12, 2011
    • 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
  8. Dec 17, 2010
    • Stefan Roese's avatar
      ppc4xx: t3corp: Add support for the Xilinx DS617 flash chip · cf1971c1
      Stefan Roese authored
      
      The t3corp board has an Xilinx DS617 flash chip connected to the
      onboard FPGA. This patch adds support for these chips. Board
      specific flash accessor functions are needed, since the chips
      can only be read correctly in 16bit mode.
      
      Additionally the FPGA chip-selects are configured for device-paced
      transfers (ready is enabled).
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      cf1971c1
  9. Nov 27, 2010
  10. Nov 17, 2010
    • 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
  11. Oct 26, 2010
    • 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
  12. Oct 18, 2010
    • 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
  13. Sep 23, 2010
  14. Jul 23, 2010
    • Stefan Roese's avatar
      ppc4xx: T3CORP fixes and updates · 5bf39a96
      Stefan Roese authored
      
      This patch fixes some problems for the T3CORP board. Here the list
      of the changes:
      
      - Add 600-67 and 677 CPU frequency setting to chip_config
        command
      - Define CONFIG_DDR_RFDC_FIXED on t3corp:
        While using the "normal" auto calibration code, sometimes values for
        RFDC were picked (>= T3) that resulted in a non-working U-Boot (hang
        upon relocation, while running from SDRAM). With this optimized RFDC
        value we can force this register and use the auto-calibration code to
        setup the remaining calibration registers.
      - Increase sizes of FPGA chips selects
      - EBC timing updated OEN=3 for 66 MHz EBC speed
      - Change ext. IRQ2 setup to level-low active
      - Enable CONFIG_SYS_CFI_FLASH_STATUS_POLL
      
      By defining CONFIG_SYS_CFI_FLASH_STATUS_POLL, DQ7 is polled to detect the
      chip busy status. This is now used instead of the data toggle method which
      is used historically by default in the common CFI driver. With this change
      a problem with not written data is solved on this board, where a 32 byte
      block of data is still erased instead of filled with the correct content
      after these commands:
      
      => erase 0xfc100000 +0x1000000
      
      ....................................................................
      done
      Erased 128 sectors
      => cp.b 0x100000 0xfc100000 0x1000000
      Copy to Flash... done
      => cmp.b 0x100000 0xfc100000 0x1000000
      byte at 0x00d0d6c0 (0x00) != byte at 0xfcd0d6c0 (0xff)
      Total of 12637888 bytes were the same
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      5bf39a96
  15. Jul 01, 2010
Loading