tegra: usb gadget: fix ci udc operation if not hostpc capable
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Wed, 28 Sep 2016 09:24:05 +0000 (11:24 +0200)
committerTom Warren <twarren@nvidia.com>
Mon, 10 Oct 2016 17:44:37 +0000 (10:44 -0700)
commit7e1784651b057136847259358a3383c148d6f374
treef2785607c332f858c9d53e254047d3cbed83a1e7
parentf5fd45ff64e28a73499548358e3d1ceda0de7daf
tegra: usb gadget: fix ci udc operation if not hostpc capable

The Tegra 2 aka T20 is not host PC capable. Therefore gate the define
CONFIG_CI_UDC_HAS_HOSTPC in tegra-common-usb-gadget.h in case of
CONFIG_TEGRA20.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra-common-usb-gadget.h