USB Storage, add meaningful return value
authorAras Vaichas <arasv@magtech.com.au>
Tue, 25 Mar 2008 01:09:07 +0000 (12:09 +1100)
committerMarkus Klotzbuecher <mk@denx.de>
Wed, 26 Mar 2008 08:23:23 +0000 (09:23 +0100)
commitf6b44e0e4d18fe507833a0f76d24a9aa72c123f1
tree552473178f816413f99dc24f4b188f447c18464d
parent18e69a35efbb078403db0c0063986470dad7d082
USB Storage, add meaningful return value

This patch changes the "usb storage" command to return success if it
finds a USB storage device, otherwise it returns error.

Signed-off-by: Markus Klotzbuecher <mk@denx.de>
common/cmd_usb.c
common/usb_storage.c