On Tuesday, April 15, 2014 at 03:06:52 PM, Mateusz Zalega wrote: > Former usb_cable_connected() patch broke compilation of boards which do > not support this feature. > > Signed-off-by: Mateusz Zalega <m.zal...@samsung.com> > Cc: Lukasz Majewski <l.majew...@samsung.com> > Cc: Marek Vasut <ma...@denx.de> > Cc: Minkyu Kang <mk7.k...@samsung.com>
I suggest we go for the weak default implementation of usb_cable_connected() which would return -ENOTSUP in the default case. Override with board-specific stuff if needed. Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot