1. 14 Mar, 2016 1 commit
  2. 14 Jan, 2016 1 commit
    • Stephen Warren's avatar
      ums: support multiple LUNs at once · 02585eb3
      Stephen Warren authored
      Extend the ums command to accept a list of block devices. Each of these
      will be exported as a separate LUN. An example use-case would be:
      ums 0 mmc 0,0.1,0.2
      ... which would export LUNs for eMMC 0's user data, boot0, and boot1 HW
      partitions. This is useful since it allows the host access to everything
      on the eMMC without having to somehow stop the ums command from executing
      and restart it with different parameters.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
  3. 08 May, 2014 3 commits
  4. 05 May, 2014 1 commit
  5. 13 Jan, 2014 1 commit
  6. 08 Nov, 2013 2 commits
    • Przemyslaw Marczak's avatar
      usb: ums: fix disk capacity miscalculation and code cleanup · 0697f206
      Przemyslaw Marczak authored
      This patch prevents:
      - ums disk capacity miscalculation because of integer overflow
      Changes v2:
      - Prevents passing zero size disk capacity to ums gadget driver
      - Change function ums_get_capacity() to ums_disk_init() and do ums disk
        initialization before gadget init
      - Remove unnecessary code from mass storage driver
      Signed-off-by: default avatarPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Marek Vasut <marex@denx.de>
    • 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
      - 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>
  7. 20 Oct, 2013 1 commit
  8. 24 Sep, 2013 1 commit
  9. 24 Jul, 2013 1 commit
  10. 18 Mar, 2013 1 commit