1. 08 May, 2014 5 commits
  2. 05 May, 2014 2 commits
  3. 13 Jan, 2014 1 commit
  4. 08 Nov, 2013 3 commits
    • Przemyslaw Marczak's avatar
      usb: ums: add ums exit feature by ctrl+c or by detach usb cable · 351e9b20
      Przemyslaw Marczak authored
      This patch allows exiting from UMS mode to u-boot prompt
      by detaching usb cable or by pressing ctrl+c.
      
      Add new config: CONFIG_USB_CABLE_CHECK. If defined then board
      file should provide function: usb_cable_connected() (include/usb.h)
      that return 1 if cable is connected and 0 otherwise.
      
      Changes v2:
      - add a note to the README
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      351e9b20
    • Przemyslaw Marczak's avatar
      usb: ums: allows using every mmc device with ums. · f4dacf7b
      Przemyslaw Marczak authored
      Before this change ums command only allowed use of mmc 0.
      Now this argument can be set.
      
      Changes:
      - remove mmc device number checking because it is always positive number
      - remove printing "no such device" - it is done by find_mmc_device()
      
      Change-Id: I767e45151ad515c7bef19e6c13087374f5e23c11
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
      f4dacf7b
    • Przemyslaw Marczak's avatar
      usb: ums: code refactoring to improve reusability on other boards. · 93c813b3
      Przemyslaw Marczak authored
      This patch introduces some cleanups to ums code. Changes:
      
      ums common:
      - introduce UMS_START_SECTOR and UMS_NUM_SECTORS as defined in
        usb_mass_storage.h both default values as 0 if board config
        doesn't define them
      
      common cleanup changes:
      - change name of struct "ums_board_info" to "ums"
      - "ums_device" fields are moved to struct ums and "dev_num" is removed
      - change function name: board_ums_init to ums_init
      - remove "extern" prefixes from usb_mass_storage.h
      
      cmd_usb_mass_storage:
      - change error() to printf() if need to print info message
      - change return values to command_ret_t type at ums command code
      - add command usage string
      
      Changes v2:
      ums common:
      - always returns number of read/write sectors
      - coding style clean-up
      ums gadget:
      - calculate amount of read/write from device returned value.
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Marek Vasut <marek.vasut@gmail.com>
      93c813b3
  5. 20 Oct, 2013 1 commit
  6. 24 Sep, 2013 1 commit
  7. 24 Jul, 2013 1 commit
  8. 18 Mar, 2013 1 commit