1. 06 Dec, 2008 2 commits
  2. 05 Dec, 2008 1 commit
  3. 02 Dec, 2008 1 commit
  4. 28 Nov, 2008 2 commits
  5. 24 Nov, 2008 2 commits
  6. 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
  7. 02 Nov, 2008 3 commits
  8. 31 Oct, 2008 1 commit
  9. 29 Oct, 2008 2 commits
  10. 28 Oct, 2008 2 commits
  11. 27 Oct, 2008 1 commit
  12. 25 Oct, 2008 2 commits
  13. 24 Oct, 2008 2 commits
  14. 18 Oct, 2008 11 commits
  15. 14 Oct, 2008 4 commits
    • Peter Tyser's avatar
      cmd_i2c: Fix help for CONFIG_I2C_CMD_TREE && !CONFIG_I2C_MULTI_BUS · 9bc2e4ee
      Peter Tyser authored
      
      
      Original code displayed:
       => help i2c
       i2c i2c speed [speed] - show or set I2C bus speed
       i2c md chip address[.0, .1, .2] [# of objects] - read from I2C device
       ...
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      9bc2e4ee
    • Remy Bohmer's avatar
      fix USB initialisation procedure · 48867208
      Remy Bohmer authored
      
      
      The max packet size is encoded as 0,1,2,3 for 8,16,32,64 bytes.
      At some places directly 8,16,32,64 was used instead of the encoded
      value. Made a enum for the options to make this more clear and to help
      preventing similar errors in the future.
      
      After fixing this bug it became clear that another bug existed where
      the 'pipe' is and-ed with PIPE_* flags, where it should have been
      'usb_pipetype(pipe)', or even better usb_pipeint(pipe).
      
      Also removed the triple 'get_device_descriptor' sequence, it has no use,
      and Windows nor Linux behaves that way.
      There is also a poll going on with a timeout when usb_control_msg() fails.
      However, the poll is useless, because the flag will never be set on a error,
      because there is no code that runs in a parallel that can set this flag.
      Changed this to something more logical.
      
      Tested on AT91SAM9261ek and compared the flow on the USB bus to what
      Linux is doing. There is no difference anymore in the early initialisation
      sequence.
      Signed-off-by: default avatarRemy Bohmer <linux@bohmer.net>
      Signed-off-by: default avatarMarkus Klotzbuecher <mk@denx.de>
      48867208
    • Mike Frysinger's avatar
      cmd_spi: remove broken signed casting for display · c46980f6
      Mike Frysinger authored
      
      
      Since we're working with unsigned data, you can't apply a signed pointer
      cast and then attempt to print the result.  Otherwise you get wrong output
      when the sign bit is set like "0xFF" incorrectly extended to "0xFFFFFFFF".
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      c46980f6
    • Mike Frysinger's avatar
      strings cmd: drop old CONFIG_CFG_STRINGS define · d5fd0b49
      Mike Frysinger authored
      
      
      We don't need CONFIG_CFG_STRINGS anymore now that we have the define
      CONFIG_CMD_STRINGS and Makefile control.
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      d5fd0b49
  16. 13 Oct, 2008 1 commit
  17. 17 Sep, 2008 2 commits
    • Remy Bohmer's avatar
      USB layer of U-Boot causes USB protocol errors while using USB memory sticks · c9e8436b
      Remy Bohmer authored
      
      
      There are several differences between Linux, Windows and U-boot for initialising the
      USB devices. While analysing the behaviour of U-boot it turned out that U-boot does
      things really different, and some are wrong (compared to the USB standard).
      
      This patch fixes some errors:
      * The NEW_init procedure that was already in the code is good, while the old procedure
        is wrong. See code comments for more info.
      * On a Control request the data returned by the device can be more than 8 bytes, while
        the host limits it to 8 bytes. This caused the host to generate a DataOverrun error.
        This results in a lot of USB sticks not being recognised, and the transmission ended
        frequently with a CTL:TIMEOUT Error.
      * Added a flag CONFIG_LEGACY_USB_INIT_SEQ to allow users to use the old init procedure.
      Signed-off-by: default avatarRemy Bohmer <linux@bohmer.net>
      Signed-off-by: default avatarMarkus Klotzbuecher <mk@denx.de>
      c9e8436b
    • Remy Bohmer's avatar
      Refactoring parts of the common USB OHCI code · 6f5794a6
      Remy Bohmer authored
      
      
      This patch refactors some large routines of the USB OHCI code by
      making some routines smaller and more readable which helps
      debugging and understanding the code. (Makes the code looks
      somewhat more like the Linux implementation.)
      
      Also made entire file compliant to Linux Coding Rules (checkpatch.pl compliant)
      Signed-off-by: default avatarRemy Bohmer <linux@bohmer.net>
      Signed-off-by: default avatarMarkus Klotzbuecher <mk@denx.de>
      6f5794a6