diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2013-10-23 12:30:44 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-11-08 19:46:19 (GMT) |
commit | 0697f206dfbbb5821fbf03283dce0b96515167cf (patch) | |
tree | 44d1700294f8d9f53243fbf60786f541020adfaa /include/configs/RPXlite_DW.h | |
parent | f4dacf7b95e9f7d4246db00facdbe366b5c30a5a (diff) | |
download | u-boot-0697f206dfbbb5821fbf03283dce0b96515167cf.tar.xz |
usb: ums: fix disk capacity miscalculation and code cleanup
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: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/configs/RPXlite_DW.h')
0 files changed, 0 insertions, 0 deletions