]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ehci-mx6: Use common code to extract dr_mode
authorAdam Ford <aford173@gmail.com>
Wed, 3 Apr 2019 13:41:56 +0000 (08:41 -0500)
committerMarek Vasut <marex@denx.de>
Tue, 9 Apr 2019 11:11:45 +0000 (13:11 +0200)
commitd6b511a047f8eac0c82d5f8602c96156c11be8e3
tree5f96e7303ebf58f5face8d08e57e65436c818f77
parent7a833506a04162ec805b4e991fa015053be27064
usb: ehci-mx6: Use common code to extract dr_mode

There exists code in drivers/common/common.c to read the dr_mode
from the device tree.  This patch converts this driver to use that
function to initialize the driver.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/usb/host/ehci-mx6.c