diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2010-08-08 15:05:39 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-08-10 23:08:55 +0200 |
commit | 69a2a4d9a5884a6f2d04a551308980d452b9b349 (patch) | |
tree | b2784e2ad2d08056a8bb904e42c2197c8070e176 /common/cmd_eeprom.c | |
parent | b9d51fbb18097975ff86d3a7b4a21a92a1b345f0 (diff) | |
download | u-boot-imx-69a2a4d9a5884a6f2d04a551308980d452b9b349.zip u-boot-imx-69a2a4d9a5884a6f2d04a551308980d452b9b349.tar.gz u-boot-imx-69a2a4d9a5884a6f2d04a551308980d452b9b349.tar.bz2 |
disk/part.c: 'usb storage' avoiding overflow when output capacity
Before:
Marvell>> usb storage
Device 0: Vendor: StoreJet Rev: Prod: Transcend
Type: Hard Disk
Capacity: 28759.9 MB = 28.0 GB (488397168 x 512)
After:
Marvell>> usb storage
Device 0: Vendor: StoreJet Rev: Prod: Transcend
Type: Hard Disk
Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'common/cmd_eeprom.c')
0 files changed, 0 insertions, 0 deletions