diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2013-10-23 14:30:45 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-11-08 20:46:19 +0100 |
commit | 4b19ed6c765eb7f8a8873ab05db5c2dfca7f554a (patch) | |
tree | a882a1d019dc42114654f331fe9ae225d213582b /include | |
parent | 0697f206dfbbb5821fbf03283dce0b96515167cf (diff) | |
download | u-boot-imx-4b19ed6c765eb7f8a8873ab05db5c2dfca7f554a.zip u-boot-imx-4b19ed6c765eb7f8a8873ab05db5c2dfca7f554a.tar.gz u-boot-imx-4b19ed6c765eb7f8a8873ab05db5c2dfca7f554a.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/trats.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/trats.h b/include/configs/trats.h index 6ed3313..3d080c4 100644 --- a/include/configs/trats.h +++ b/include/configs/trats.h @@ -321,9 +321,7 @@ #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE ((500 * 120 * 4) + (1 << 12)) #define CONFIG_CMD_USB_MASS_STORAGE -#if defined(CONFIG_CMD_USB_MASS_STORAGE) #define CONFIG_USB_GADGET_MASS_STORAGE -#endif /* Pass open firmware flat tree */ #define CONFIG_OF_LIBFDT 1 |