1. 13 Sep, 2014 1 commit
  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. 13 May, 2014 5 commits
  4. 12 Mar, 2014 1 commit
    • Stefan Roese's avatar
      arm: am335x: DXR2: Move unconditional LAN9303 reset into command · ec716e33
      Stefan Roese authored
      The switch HW reset results in a disconnection of the switch port daisy-
      chain for a few seconds. This is not desired in the normal field use
      case. So lets remove this switch reset from the normal bootup sequence
      and move it into a board specific command. This way it can be executed
      in the development environment when really needed.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Roger Meier <r.meier@siemens.com>
      Cc: Lukas Stockmann <lukas.stockmann@siemens.com>
      Cc: Tom Rini <trini@ti.com>
      ec716e33
  5. 04 Mar, 2014 2 commits
  6. 19 Dec, 2013 1 commit
  7. 12 Dec, 2013 1 commit
  8. 09 Dec, 2013 2 commits
  9. 04 Dec, 2013 1 commit
  10. 17 Nov, 2013 1 commit
  11. 13 Nov, 2013 1 commit
    • Heiko Schocher's avatar
      i2c, omap24xx: convert driver to new mutlibus/mutliadapter framework · 6789e84e
      Heiko Schocher authored
      - add omap24xx driver to new multibus/multiadpater support
      - adapted all config files, which uses this driver
      
      Tested on the am335x based siemens boards rut, dxr2 and pxm2
      posted here:
      http://patchwork.ozlabs.org/patch/263211/Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Tested-by: default avatarTom Rini <trini@ti.com>
      Cc: Lars Poeschel <poeschel@lemonage.de>
      Cc: Steve Sakoman <sakoman@gmail.com>
      Cc: Thomas Weber <weber@corscience.de>
      Cc: Tom Rix <Tom.Rix@windriver.com>
      Cc: Grazvydas Ignotas <notasas@gmail.com>
      Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com>
      Cc: Luca Ceresoli <luca.ceresoli@comelit.it>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Cc: Ilya Yanok <yanok@emcraft.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Pali Rohár <pali.rohar@gmail.com>
      Cc: Peter Barada <peter.barada@logicpd.com>
      Cc: Nagendra T S  <nagendra@mistralsolutions.com>
      Cc: Michael Jones <michael.jones@matrix-vision.de>
      Cc: Raphael Assenat <raph@8d.com>
      Acked-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
      Acked-by: default avatarStefano Babic <sbabic@denx.de>
      6789e84e
  12. 12 Nov, 2013 1 commit
    • Samuel Egli's avatar
      arm, am335x: update for the siemens boards · 56eb3da4
      Samuel Egli authored
      - dxr2: define unused pins as input
      - do not enable RTC32K OSC on dxr2 board
      - update default environment
        - add splashpos=m,m to default environment, so splash screen is always
          centered.
        - adapt environment for bootcount feature
        - add altbootcmd to default environment
      - rut: SPL add early reset pulse for eth-phy, maXTouch and display
      - rut: display timing aenderungen
      - siemens boards: adapt for background color = white
      - add boutcount feature for the siemens boards
        store the bootcount in the environment, as we have no softreset
        save registers on this hardware. Use therefore the CONFIG_BOOTCOUNT_ENV
        bootcount driver.
      - change spi mode from 3 to 0 for the lcd init
      - add gpio pin for lcd reset with state 0 and add mdelay
      - siemens boards: use own USB id's
      - add dfu serial and device number for siemens boards
        Add for the siemens boards the possibility to define in dfu mode,
        the iSerialNumber and the bcdDevice fields in the USB Device
        descriptor.
      - fix upgrade mechanism based on bootcount
        Correct location of saveenv and remove not active variable.
      
        Add CONFIG_BOOT_RETRY_TIME and CONFIG_RESET_TO_RETRY to
        reboot board in case of empty kernel partition. Without
        these defines an empty kernel partition leads to an
        abort of boot process and one remains in u-boot prompt.
      
      - general cleanup of dxr2, pxm2 and rut boards
        all:
         * Remove net boot from bootcmd
           Ping can cause a crash on boards without ethernet phy.
           net_nfs command is used only for development
      
         * Add reset at the end of bootcmd
           In order to have an immediate reset of the boot when bootcmd
           fails, add reset at the end of bootcmd.
      
        rut:
         * add nand_img_size
      
        dxr2:
         * update nand_img_size
      
         * ddr3 timings updated with iocontrol property that can be
           modified via eeprom. New default parameters from software
           leveling with draco ES2.
      Signed-off-by: default avatarSamuel Egli <samuel.egli@siemens.com>
      Signed-off-by: default avatarPascal Bach <pascal.bach@siemens.com>
      Signed-off-by: default avatarRoger Meier <r.meier@siemens.com>
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Matthias Michel <matthias.michel@siemens.com>
      Cc: Tom Rini <trini@ti.com>
      56eb3da4
  13. 01 Nov, 2013 1 commit
  14. 20 Oct, 2013 1 commit
  15. 14 Oct, 2013 1 commit
  16. 28 Aug, 2013 1 commit
  17. 28 Oct, 2012 1 commit
  18. 22 Oct, 2012 2 commits
    • Marek Vasut's avatar
      common: Discard the __u_boot_cmd section · 8b493a52
      Marek Vasut authored
      The command declaration now uses the new LG-array method to generate
      list of commands. Thus the __u_boot_cmd section is now superseded and
      redundant and therefore can be removed. Also, remove externed symbols
      associated with this section from include/command.h .
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      8b493a52
    • Marek Vasut's avatar
      common: Add .u_boot_list into all linker files · 55675142
      Marek Vasut authored
      Add section for the linker-generated lists into all possible linker
      files, so that everyone can easily use these lists. This is mostly
      a mechanical adjustment.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      55675142
  19. 07 Nov, 2011 1 commit
  20. 03 Nov, 2011 1 commit
    • Wolfgang Denk's avatar
      Reduce build times · cca4e4ae
      Wolfgang Denk authored
      U-Boot Makefiles contain a number of tests for compiler features etc.
      which so far are executed again and again.  On some architectures
      (especially ARM) this results in a large number of calls to gcc.
      
      This patch makes sure to run such tests only once, thus largely
      reducing the number of "execve" system calls.
      
      Example: number of "execve" system calls for building the "P2020DS"
      (Power Architecture) and "qong" (ARM) boards, measured as:
      	-> strace -f -e trace=execve -o /tmp/foo ./MAKEALL <board>
      	-> grep execve /tmp/foo | wc -l
      
      	Before: After:	Reduction:
      ==================================
      P2020DS 20555	15205	-26%
      qong	31692	14490	-54%
      
      As a result, built times are significantly reduced, typically by
      30...50%.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Andy Fleming <afleming@gmail.com>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Cc: Albert Aribaud <albert.aribaud@free.fr>
      cc: Graeme Russ <graeme.russ@gmail.com>
      cc: Mike Frysinger <vapier@gentoo.org>
      Tested-by: default avatarGraeme Russ <graeme.russ@gmail.com>
      Tested-by: default avatarMatthias Weisser <weisserm@arcor.de>
      Tested-by: default avatarSanjeev Premi <premi@ti.com>
      Tested-by: default avatarSimon Glass <sjg@chromium.org>
      Tested-by: default avatarMacpaul Lin <macpaul@gmail.com>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      cca4e4ae
  21. 15 Oct, 2011 1 commit
  22. 07 Sep, 2011 1 commit
  23. 12 May, 2011 1 commit
    • Joakim Tjernlund's avatar
      Fix a few gcc warnings. · cd8c8775
      Joakim Tjernlund authored
      Noticed while building all of mpc8xx. Also
      constify usage string in timer.c
      Warnings fixed are:
      timer.c: In function 'timer':
      timer.c:189: warning: format not a string literal and no format arguments
      timer.c:258: warning: format not a string literal and no format arguments
      atm.c: In function 'atmUnload':
      atm.c:99: warning: array subscript is above array bounds
      atm.c: In function 'atmLoad':
      atm.c:65: warning: array subscript is above array bounds
      codec.c: In function 'codsp_write_pop_int':
      codec.c:678: warning: array subscript is above array bounds
      codec.c: In function 'codsp_write_cop_short':
      codec.c:585: warning: array subscript is above array bounds
      codec.c: In function 'codsp_write_sop_int':
      codec.c:512: warning: array subscript is above array bounds
      Signed-off-by: default avatarJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
      cd8c8775
  24. 20 Apr, 2011 1 commit
  25. 27 Mar, 2011 1 commit
  26. 09 Dec, 2010 1 commit
    • Wolfgang Denk's avatar
      Remove redundant config.mk files · 263d5c2f
      Wolfgang Denk authored
      Recent cleanup actions resulted in a number of config.mk files that
      contained only redundant entries like
      
      	PLATFORM_CPPFLAGS += -I$(TOPDIR)
      
      or settings of variables that were not used anywhere in the code, like
      
      	TEXT_END  = 0xfe080000
      
      Remove these unnecessary files.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Scott McNutt <smcnutt@psyent.com>
      Cc: Wolfgang Wegner <w.wegner@astro-kom.de>
      Cc: Josef Wagner <Wagner@Microsys.de>
      Cc: Tolunay Orkun <torkun@nextio.com>
      Cc: Frank Panno <fpanno@delphintech.com>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Brad Kemp <Brad.Kemp@seranoa.com>
      Acked-by: Heiko Schocher<hs@denx.de>
      263d5c2f
  27. 27 Nov, 2010 1 commit
  28. 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
  29. 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
  30. 06 Oct, 2010 2 commits