usb: write command for RAW partition.
authorMahavir Jain <mjain@marvell.com>
Tue, 3 Nov 2009 06:52:10 +0000 (12:22 +0530)
committerRemy Bohmer <linux@bohmer.net>
Sun, 20 Dec 2009 11:53:00 +0000 (12:53 +0100)
commit127e10842b2474ac20e40572a4102dd4d5ed80f1
tree85fe27024c506c6382c77946bde74675e1eef388
parent73c8640e93881439b87a5734485a9e56a494ef50
usb: write command for RAW partition.

This patch implements write support to usb device with raw partition.
It will be useful for filesystem write support to usb device from
u-boot in future.

Tested with writing kernel image to raw usb disk & booting with usb
read command into ram.

[Note:  run usb part to get info about start sector & number of
sectors on a partition for usb write operation.]

Signed-off-by: Mahavir Jain <mjain@marvell.com>
common/cmd_usb.c
common/usb_storage.c