]> git.baikalelectronics.ru Git - uboot.git/commit
arm: dts: imx6ul: add usbotg aliases
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Wed, 22 Feb 2017 14:38:44 +0000 (15:38 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 19 Mar 2017 16:28:50 +0000 (17:28 +0100)
commit619d66a15797798037c5032958c452c4e4f0b655
treed99e53ed6a511f9bda5459d45bbe3e36aff2fc9f
parent0530b7dee636887918814c644e49f9984a6c8bf5
arm: dts: imx6ul: add usbotg aliases

This is needed to make the UMS command work again as it fails with the
following error:

BIOS> ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x748000
g_dnl_register: failed!, error: -19
ERROR: g_dnl_register failed
at cmd/usb_mass_storage.c:179/do_usb_mass_storage()

That's because usb_setup_ehci_gadget() function is looking for the usb
device using the req_sed number.
This change makes the usb device have a req_seq number and the UMS
command work again:

BIOS> ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x748000
CTRL+C - Operation aborted

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
arch/arm/dts/imx6ul.dtsi