commit | 39209499d79fa366cc658ecfaf44943f53028acd | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Apr 27 14:55:57 2016 +0200 |
committer | Marek Vasut <marex@denx.de> | Tue May 03 19:21:17 2016 +0200 |
tree | dd459f96d05948cec82c5f942ca834d17ada5029 | |
parent | 36fc5694936e3eff889d6dd8efd9aa2af1999ef3 [diff] |
usb: dwc2: Pull Ext VBUS macro from dwc_otg_core_init() Introduce a boolean flag in the dwc2 controller private data and set it according to the macro (for now) instead of having this macro directly in the dwc_otg_core_init(). This will let us configure the flag from DT or such later on, if needed. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Dinh Nguyen <dinguyen@kernel.org>