1. 28 Jan, 2009 2 commits
  2. 27 Jan, 2009 4 commits
    • Mike Frysinger's avatar
      SATA: do not auto-initialize during boot · cf7e399f
      Mike Frysinger authored
      
      
      Rather than have the board code initialize SATA automatically during boot,
      make the user manually run "sata init".  This brings the SATA subsystem in
      line with common U-Boot policy.
      
      Rather than having a dedicated weak function "is_sata_supported", people
      can override sata_initialize() to do their weird board stuff.  Then they
      can call the actual __sata_initialize().
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      cf7e399f
    • Tomasz Figa's avatar
      jffs2: Fix zero sector_size when not using CONFIG_JFFS2_CMDLINE · b5b004ad
      Tomasz Figa authored
      This patch fixes a bug (?) introduced after inclusion of the new
      JFFS2 code.
      
      When not using CONFIG_JFFS2_CMDLINE, the code in cmd_jffs2.c doesn't
      fill in part->sector_size (keeping it as 0), but a correct value is
      needed by the code in jffs2_1pass.c. This causes all JFFS2 accesses
      to be in the same place of the memory, what obviously means
      impossibility to use the JFFS2 partition.
      
      This problem is fixed in this patch by including sector size
      calculation in non-CONFIG_JFFS2_CMDLINE mtdparts_init variant.
      
      Signed-off-by: Tomasz Figa <tomasz.figa_at_gmail.com>
      b5b004ad
    • Mike Frysinger's avatar
      saveenv: standardize enablement · ba69dc26
      Mike Frysinger authored
      
      
      Rather than special casing each environment type for enabling the saveenv
      command, have them all behave the same.  This avoids bitrot as new env
      sources are added/removed.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      ba69dc26
    • Matthias Fuchs's avatar
      Fix gunzip in case of insufficient output buffer · 107b801c
      Matthias Fuchs authored
      
      
      U-Boot's gunzip() function does not handle the return code
      of zlib's inflate() function correctly. gunzip() is implemented
      to uncompress all input data in one run. So the correct return
      code for the good case is Z_STREAM_END. In case of insufficient
      output buffer memory inflate returns Z_OK. For gunzip() this
      is an error.
      
      It also makes sense to me to call inflateEnd() also in case
      of an error.
      Signed-off-by: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
      107b801c
  3. 24 Jan, 2009 2 commits
  4. 23 Jan, 2009 5 commits
  5. 17 Jan, 2009 1 commit
    • Peter Korsgaard's avatar
      fdt_resize(): fix actualsize calculations with unaligned blobs · c088a108
      Peter Korsgaard authored
      
      
      The code in fdt_resize() to extend the fdt size to end on a page boundary
      is wrong for fdt's not located at an address aligned on a page boundary.
      What's even worse, the code would make actualsize shrink rather than grow
      if (blob & 0xfff) was bigger than the amount of padding added by ALIGN(),
      causing fdt_add_mem_rsv to fail.
      
      Fix it by aligning end address (blob + size) to a page boundary instead.
      For aligned fdt's this is equivalent to what we had before.
      Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
      c088a108
  6. 20 Dec, 2008 1 commit
  7. 16 Dec, 2008 1 commit
  8. 15 Dec, 2008 1 commit
  9. 14 Dec, 2008 1 commit
  10. 13 Dec, 2008 1 commit
  11. 10 Dec, 2008 1 commit
  12. 09 Dec, 2008 3 commits
  13. 08 Dec, 2008 1 commit
  14. 07 Dec, 2008 3 commits
    • Richard Retanubun's avatar
      common/cmd_ide.c: Corrected endian order printing for compact flash serial number. · bcdf1d2c
      Richard Retanubun authored
      
      
      Corrected endian order printing for compact flash serial number.
      Signed-off-by: default avatarRichard Retanubun <RichardRetanubun@RuggedCom.com>
      bcdf1d2c
    • 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
    • Mike Frysinger's avatar
      strings: use puts() rather than printf() · 774ce720
      Mike Frysinger authored
      
      
      When running `strings` on really long strings, the stack tends to get
      smashed due to printf().  Switch to puts() instead since we're only passing
      the data through.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      774ce720
  15. 06 Dec, 2008 2 commits
  16. 05 Dec, 2008 2 commits
  17. 02 Dec, 2008 1 commit
  18. 28 Nov, 2008 2 commits
  19. 24 Nov, 2008 2 commits
  20. 19 Nov, 2008 1 commit
    • Kyungmin Park's avatar
      UBI: Add UBI command support · 694a0b3f
      Kyungmin Park authored
      
      
      This patch adds these UBI commands:
      
      ubi part [nand|onenand] [part] - Show or set current partition
      ubi info [l[ayout]] -Display volume and UBI layout information
      ubi create[vol] volume [size] [type] - Create volume name with size
      ubi write[vol] address volume size - Write volume from address with size
      ubi read[vol] address volume [size] - Read volume to address with size
      ubi remove[vol] volume - Remove volume
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      694a0b3f
  21. 02 Nov, 2008 3 commits