1. 13 6月, 2009 3 次提交
    • P
      83xx: Replace CONFIG_MPC83XX with CONFIG_MPC83xx · 0f898604
      Peter Tyser 提交于
      Use the standard lowercase "xx" capitalization that other Freescale
      architectures use for CPU defines to prevent confusion and errors
      Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      0f898604
    • W
      MPC512x: remove include/mpc512x.h · 3b74e7ec
      Wolfgang Denk 提交于
      Move needed definitions (register descriptions etc.) from
      include/mpc512x.h  into  include/asm-ppc/immap_512x.h.
      
      Instead of using a #define'd register offset, use a function that
      provides the PATA controller's base address.
      
      All the rest of include/mpc512x.h are register offset definitions
      which can be eliminated by proper use of C structures.
      
      There are only a few register offsets remaining that are needed in
      cpu/mpc512x/start.S; for these we provide cpu/mpc512x/asm-offsets.h
      which is intended as a temporary workaround only. In a later patch
      this file will be removed, too, and then auto-generated from the
      respective C structs.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: John Rigby <jcrigby@gmail.com>
      3b74e7ec
    • M
      Add support for Linux-like kallsysms · ecb1dc89
      Mike Frysinger 提交于
      The kernel stores address<->symbol names in it so things can be decoded at
      runtime.  Do it in U-Boot, and we get nice symbol decoding when crashing.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      ecb1dc89
  2. 05 4月, 2009 1 次提交
  3. 04 4月, 2009 1 次提交
    • W
      Add "source" command; prepare removal of "autoscr" command · 74de7aef
      Wolfgang Denk 提交于
      According to the doc/feature-removal-schedule.txt, the "autoscr"
      command will be replaced by the "source" command in approximately 6
      months from now.
      
      This patch prepares this change and starts a 6 month transition
      period as follows:
      
      - The new "source" command has been added, which implements exactly
        the same functionlaity as the old "autoscr" command before
      - The old "autoscr" command name is kept as an alias for compatibility
      - Command sequences, script files atc. have been adapted to use the
        new "source" command
      - Related environment variables ("autoscript", "autoscript_uname")
        have *not* been adapted yet; these will be renamed resp. removed in
        a separate patch when the support for the "autoscr" command get's
        finally dropped.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      74de7aef
  4. 21 3月, 2009 2 次提交
    • M
      boards: get mac address from env and move load_sernum_ethaddr() to board init · 9c150102
      Mike Frysinger 提交于
      The environment is the canonical storage location of the mac address, so
      we're killing off the global data location and moving everything to
      querying the env directly.
      
      Rather than have common ppc code call a board-specific function like
      load_sernum_ethaddr(), have each board call it in its own board-specific
      misc_init_r() function.
      
      The boards that get converted here are:
      	- kup4k/kup4x
      	- pcs440ep
      	- tqm8xx
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      CC: Stefan Roese <sr@denx.de>
      9c150102
    • M
      boards: move board_get_enetaddr() into board-specific init · d8d21e69
      Mike Frysinger 提交于
      The environment is the canonical storage location of the mac address, so
      we're killing off the global data location and moving everything to
      querying the env directly.
      
      Rather than have the common ppc code have board-specific hooks, move the
      board_get_enetaddr() function into the board-specific init functions.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      CC: Ben Warren <biggerbadderben@gmail.com>
      d8d21e69
  5. 23 2月, 2009 1 次提交
  6. 27 1月, 2009 1 次提交
  7. 07 12月, 2008 1 次提交
    • G
      IOMUX: Add console multiplexing support. · 16a28ef2
      Gary Jennejohn 提交于
      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: NGary Jennejohn <garyj@denx.de>
      16a28ef2
  8. 02 11月, 2008 1 次提交
  9. 21 10月, 2008 1 次提交
  10. 19 10月, 2008 1 次提交
  11. 09 9月, 2008 1 次提交
  12. 08 9月, 2008 1 次提交
  13. 05 9月, 2008 1 次提交
  14. 31 8月, 2008 1 次提交
  15. 21 8月, 2008 1 次提交
  16. 13 8月, 2008 1 次提交
    • W
      Update MTD to that of Linux 2.6.22.1 · cfa460ad
      William Juul 提交于
      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: NWilliam Juul <william.juul@tandberg.com>
      Signed-off-by: NStig Olsen <stig.olsen@tandberg.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      cfa460ad
  17. 10 7月, 2008 1 次提交
    • A
      Fix printf errors. · dc4b0b38
      Andrew Klossner 提交于
      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: NAndrew Klossner <andrew@cesa.opbu.xerox.com>
      dc4b0b38
  18. 02 7月, 2008 1 次提交
  19. 29 6月, 2008 1 次提交
  20. 12 6月, 2008 2 次提交
    • B
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce 提交于
      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: NBecky Bruce <becky.bruce@freescale.com>
      9973e3c6
    • B
      Change print_size to take phys_size_t · 61b09fc2
      Becky Bruce 提交于
      Signed-off-by: NBecky Bruce <becky.bruce@freescale.com>
      61b09fc2
  21. 04 6月, 2008 1 次提交
  22. 12 5月, 2008 1 次提交
  23. 28 4月, 2008 1 次提交
  24. 25 4月, 2008 2 次提交
  25. 24 4月, 2008 2 次提交
  26. 22 4月, 2008 1 次提交
    • Y
      POST: move CONFIG_POST to Makefiles · 2d2b994a
      Yuri Tikhonov 提交于
      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: NYuri Tikhonov <yur@emcraft.com>
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      2d2b994a
  27. 18 4月, 2008 1 次提交
  28. 27 3月, 2008 2 次提交
  29. 15 3月, 2008 1 次提交
  30. 12 3月, 2008 1 次提交
    • M
      [new uImage] Add new uImage format support to autoscript routine · 424c4abd
      Marian Balakowicz 提交于
      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: NMarian Balakowicz <m8@semihalf.com>
      424c4abd
  31. 22 2月, 2008 1 次提交
  32. 15 2月, 2008 1 次提交
  33. 14 2月, 2008 1 次提交