1. 07 Dec, 2008 1 commit
    • Gary Jennejohn's avatar
      IOMUX: Add console multiplexing support. · 16a28ef2
      Gary Jennejohn authored
      
      
      Modifications to support console multiplexing.  This is controlled using
      CONFIG_SYS_CONSOLE_MUX in the board configuration file.
      
      This allows a user to specify multiple console devices in the environment
      with a command like this: setenv stdin serial,nc.  As a result, the user can
      enter text on both the serial and netconsole interfaces.
      
      All devices - stdin, stdout and stderr - can be set in this manner.
      
      1) common/iomux.c and include/iomux.h contain the environment setting
      implementation.
      2) doc/README.iomux contains a somewhat more detailed description.
      3) The implementation in (1) is called from common/cmd_nvedit.c to
      handle setenv and from common/console.c to handle initialization of
      input/output devices at boot time.
      4) common/console.c also contains the code needed to poll multiple console
      devices for input and send output to all devices registered for output.
      5) include/common.h includes iomux.h and common/Makefile generates iomux.o
      when CONFIG_SYS_CONSOLE_MUX is set.
      Signed-off-by: default avatarGary Jennejohn <garyj@denx.de>
      16a28ef2
  2. 02 Nov, 2008 1 commit
  3. 21 Oct, 2008 1 commit
  4. 18 Oct, 2008 1 commit
  5. 08 Sep, 2008 2 commits
  6. 05 Sep, 2008 1 commit
  7. 30 Aug, 2008 1 commit
  8. 20 Aug, 2008 1 commit
  9. 12 Aug, 2008 1 commit
    • William Juul's avatar
      Update MTD to that of Linux 2.6.22.1 · cfa460ad
      William Juul authored
      
      
      A lot changed in the Linux MTD code, since it was last ported from
      Linux to U-Boot. This patch takes U-Boot NAND support to the level
      of Linux 2.6.22.1 and will enable support for very large NAND devices
      (4KB pages) and ease the compatibility between U-Boot and Linux
      filesystems.
      
      This patch is tested on two custom boards with PPC and ARM
      processors running YAFFS in U-Boot and Linux using gcc-4.1.2
      cross compilers.
      
      MAKEALL ppc/arm has some issues:
       * DOC/OneNand/nand_spl is not building (I have not tried porting
         these parts, and since I do not have any HW and I am not familiar
         with this code/HW I think its best left to someone else.)
      
      Except for the issues mentioned above, I have ported all drivers
      necessary to run MAKEALL ppc/arm without errors and warnings. Many
      drivers were trivial to port, but some were not so trivial. The
      following drivers must be examined carefully and maybe rewritten to
      some degree:
       cpu/ppc4xx/ndfc.c
       cpu/arm926ejs/davinci/nand.c
       board/delta/nand.c
       board/zylonite/nand.c
      Signed-off-by: default avatarWilliam Juul <william.juul@tandberg.com>
      Signed-off-by: default avatarStig Olsen <stig.olsen@tandberg.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      cfa460ad
  10. 09 Jul, 2008 1 commit
    • Andrew Klossner's avatar
      Fix printf errors. · dc4b0b38
      Andrew Klossner authored
      
      
      The compiler will help find mismatches between printf formats and
      arguments if you let it.  This patch adds the necessary attributes to
      declarations in include/common.h, then begins to correct the resulting
      compiler warnings.  Some of these were bugs, e.g., "$d" instead of
      "%d" and incorrect arguments.  Others were just annoying, like
      int-long mismatches on a system where both are 32 bits.  It's worth
      fixing the annoying errors to catch the real ones.
      Signed-off-by: default avatarAndrew Klossner <andrew@cesa.opbu.xerox.com>
      dc4b0b38
  11. 01 Jul, 2008 1 commit
  12. 28 Jun, 2008 1 commit
  13. 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: default avatarBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
  14. 11 Jun, 2008 1 commit
  15. 03 Jun, 2008 1 commit
  16. 11 May, 2008 1 commit
  17. 28 Apr, 2008 1 commit
  18. 24 Apr, 2008 4 commits
  19. 22 Apr, 2008 1 commit
    • Yuri Tikhonov's avatar
      POST: move CONFIG_POST to Makefiles · 2d2b994a
      Yuri Tikhonov authored
      
      
      Introduce the new logical option CONFIG_HAS_POST which is set when the
      platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles
      to determine should the POST libs be compiled for the selected target
      platform, or not.
      
      To avoid breaking u-boot linking process, the empty post/libpost.a file is
      created for platforms which do not have POSTs.
      Signed-off-by: default avatarYuri Tikhonov <yur@emcraft.com>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      2d2b994a
  20. 17 Apr, 2008 1 commit
  21. 26 Mar, 2008 2 commits
  22. 15 Mar, 2008 1 commit
  23. 12 Mar, 2008 1 commit
    • Marian Balakowicz's avatar
      [new uImage] Add new uImage format support to autoscript routine · 424c4abd
      Marian Balakowicz authored
      
      
      autoscript() routine is updated to accept second argument, which
      is only used for FIT images and provides a FIT subimage unit name.
      
      autoscript() routine callers must now pass two arguments. For
      non-interactive use (like in cmd_load.c, cmd_net.c), new environment
      variable 'autoscript_uname' is introduced and used as a FIT
      subimage unit name source.
      
      autoscript command accepts extended syntax of the addr argument:
      addr:<subimg_uname>
      Signed-off-by: default avatarMarian Balakowicz <m8@semihalf.com>
      424c4abd
  24. 21 Feb, 2008 1 commit
  25. 14 Feb, 2008 2 commits
  26. 13 Feb, 2008 1 commit
  27. 05 Feb, 2008 1 commit
  28. 04 Feb, 2008 1 commit
  29. 12 Jan, 2008 1 commit
  30. 09 Jan, 2008 3 commits
  31. 27 Dec, 2007 1 commit
  32. 12 Dec, 2007 1 commit