u-boot-brain/drivers
Przemyslaw Marczak 93c813b3ac usb: ums: code refactoring to improve reusability on other boards.
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: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Marek Vasut <marek.vasut@gmail.com>
2013-11-08 20:46:19 +01:00
..
bios_emulator drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
block drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
bootcount drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
crypto drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
dfu drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga fpga: zynqpl: Do not place bitstream below 1MB 2013-11-06 09:15:12 +01:00
gpio Merge branch 'master' of git://git.denx.de/u-boot-blackfin 2013-11-04 09:28:08 -05:00
hwmon drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
i2c drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
input drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
misc drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
mmc drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
mtd drivers: mtd: convert makefiles to Kbuild style 2013-10-31 13:22:13 -04:00
net drivers: net: convert makefiles to Kbuild style 2013-10-31 13:22:13 -04:00
pci drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
pcmcia drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
power drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
qe drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
rtc drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
serial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
sound drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
spi drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
tpm drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: ums: code refactoring to improve reusability on other boards. 2013-11-08 20:46:19 +01:00
video drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
watchdog drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
Makefile drivers: move some drivers to drivers/Makefile 2013-10-31 13:26:44 -04:00