u-boot/board/samsung
Mateusz Zalega 75504e9592 usb: dfu: fix boards wo USB cable detection
Former usb_cable_connected() patch broke compilation of boards which do
not support this feature.

I've renamed usb_cable_connected() to g_dnl_usb_cable_connected() and added
its default implementation to gadget downloader driver code. There's
only one driver of this kind and it's unlikely there'll be another, so
there's no point in keeping it in /common.

Previously this function was declared in usb.h. I've moved it, since
it's more appropriate to keep it in g_dnl.h - usb.h seems to be intended
for USB host implementation.

Existing code, confronted with default -EOPNOTSUPP return value,
continues as if the cable was connected.

CONFIG_USB_CABLE_CHECK was removed.

Change-Id: Ib9198621adee2811b391c64512f14646cefd0369
Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
2014-05-05 08:00:28 +02:00
..
arndale usb: exynos5: arndale: Add network support 2014-01-13 12:23:28 +01:00
common Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-03-25 10:53:15 +01:00
goni board: samsung: delete unused source files 2014-04-17 14:38:30 -04:00
origen usb: dfu: fix boards wo USB cable detection 2014-05-05 08:00:28 +02:00
smdk2410 arm: remove unneeded symbol offsets and _TEXT_BASE 2014-02-26 21:18:12 +01:00
smdk5250 Merge branch 'u-boot/master' into 'u-boot-arm/master' 2014-03-25 10:53:15 +01:00
smdk5420 board:samsung: move checkboard to common file 2014-03-12 19:54:59 +09:00
smdkc100 board: samsung: delete unused source files 2014-04-17 14:38:30 -04:00
smdkv310 kbuild: add dummy obj-y to create built-in.o 2014-02-19 11:07:50 -05:00
trats usb: dfu: fix boards wo USB cable detection 2014-05-05 08:00:28 +02:00
trats2 usb: dfu: fix boards wo USB cable detection 2014-05-05 08:00:28 +02:00
universal_c210 usb: dfu: fix boards wo USB cable detection 2014-05-05 08:00:28 +02:00