]> git.sur5r.net Git - u-boot/commit
usb: ums: move ums code from trats to Samsung common directory
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 23 Oct 2013 12:30:45 +0000 (14:30 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 8 Nov 2013 19:46:19 +0000 (20:46 +0100)
commit4b19ed6c765eb7f8a8873ab05db5c2dfca7f554a
treea882a1d019dc42114654f331fe9ae225d213582b
parent0697f206dfbbb5821fbf03283dce0b96515167cf
usb: ums: move ums code from trats to Samsung common directory

UMS init was implemented in trats board file but mostly it comprises
common code. Due to that it has been moved to common/ums.c to avoid
code duplication in the future.

Changes:
- move ums initialization code from trats to common/ums.c
- remove unused CONFIG_USB_GADGET_MASS_STORAGE from trats.h

Changes v2:
- move this patch at the top of code cleanups patches

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/common/Makefile
board/samsung/common/ums.c [new file with mode: 0644]
board/samsung/trats/trats.c
include/configs/trats.h