diff options
author | Sam Protsenko | 2018-10-04 23:10:00 -0500 |
---|---|---|
committer | Praneeth Bajjuri | 2018-10-04 17:14:42 -0500 |
commit | f1e42cf82a084d8c04a456359b4342a40e2d3a20 (patch) | |
tree | 92299777da8c064ac34e212afdbeddf6de626c66 /init.am65xevmboard.usb.rc | |
parent | 34da81718c666fb16286f047299584d1b8a8ecb0 (diff) | |
download | device-ti-am65xevm-f1e42cf82a084d8c04a456359b4342a40e2d3a20.tar.gz device-ti-am65xevm-f1e42cf82a084d8c04a456359b4342a40e2d3a20.tar.xz device-ti-am65xevm-f1e42cf82a084d8c04a456359b4342a40e2d3a20.zip |
am65x_evm: workaround: Set UDC controller manually
Ideally should have been done in Android init.cpp
But due to loading dwc3.ko dynamically we can't rely on it
as set_usb_controller() executed before early-init
This workaround needs to be removed once dwc3 can work as
built-in
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'init.am65xevmboard.usb.rc')
-rw-r--r-- | init.am65xevmboard.usb.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init.am65xevmboard.usb.rc b/init.am65xevmboard.usb.rc index 748253f..10c136a 100644 --- a/init.am65xevmboard.usb.rc +++ b/init.am65xevmboard.usb.rc | |||
@@ -51,3 +51,9 @@ on property:sys.usb.ffs.ready=1 && property:sys.usb.ffs.mtp.ready=1 && property: | |||
51 | 51 | ||
52 | on property:sys.usb.config=adb && property:sys.usb.configfs=1 | 52 | on property:sys.usb.config=adb && property:sys.usb.configfs=1 |
53 | write /config/usb_gadget/g1/idProduct 0xD101 | 53 | write /config/usb_gadget/g1/idProduct 0xD101 |
54 | |||
55 | # FIXME: remove this line later; it's done in init.cpp | ||
56 | # but due to loading dwc3.ko dynamically we can't rely on it | ||
57 | # as set_usb_controller() executed before early-init | ||
58 | on late-init | ||
59 | setprop sys.usb.controller "4030000.usb" | ||