aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb/usb.c
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2012-06-21 10:52:49 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2012-06-22 08:55:22 +0200
commit445a3a04d8cb388786bbe8f997bf2034521dea09 (patch)
treedeb4b637beecab7569c5ac41f129d42c0db3c479 /payloads/libpayload/drivers/usb/usb.c
parent57cd1dd29679918afa650c2a7e82a474765f357d (diff)
libpayload: Shutdown reasonably if we can't init usb msc device
This lets the init of usb mass storage return if the device configuration is unusable. Also add some checks for proper shutdown so we don't free/remove an uninitialized device. Change-Id: I6daf9b38e632b6e381bcd5a7717f0f1a3150b64a Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: http://review.coreboot.org/1130 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/drivers/usb/usb.c')
0 files changed, 0 insertions, 0 deletions