colibri_vf: Add board_usb_phy_mode function
authorSanchayan Maity <maitysanchayan@gmail.com>
Thu, 12 Nov 2015 06:17:35 +0000 (11:47 +0530)
committerStefano Babic <sbabic@denx.de>
Wed, 25 Nov 2015 08:51:47 +0000 (09:51 +0100)
commit01a8cf91513981d05bf89840d768e9c060ee998b
tree28c2c9d92d52d903a43c2b430b6e9883b16dc2f3
parente0a352d1e2dd060c2d43da1cf2b91878e997ce1e
colibri_vf: Add board_usb_phy_mode function

Add board_usb_phy_mode function for detecting whether a port is
being used as host or client using a GPIO. On Colibri Vybrid we
provide GPIO 102 for this very same purpose.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
board/toradex/colibri_vf/colibri_vf.c