diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2013-10-23 14:30:44 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-11-08 20:46:19 +0100 |
commit | 0697f206dfbbb5821fbf03283dce0b96515167cf (patch) | |
tree | 44d1700294f8d9f53243fbf60786f541020adfaa /include/configs/cogent_mpc8260.h | |
parent | f4dacf7b95e9f7d4246db00facdbe366b5c30a5a (diff) | |
download | u-boot-imx-0697f206dfbbb5821fbf03283dce0b96515167cf.zip u-boot-imx-0697f206dfbbb5821fbf03283dce0b96515167cf.tar.gz u-boot-imx-0697f206dfbbb5821fbf03283dce0b96515167cf.tar.bz2 |
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/cogent_mpc8260.h')
0 files changed, 0 insertions, 0 deletions