]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt_support: fdt_fixup_dr_usb: add support for phy_type fixups
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 8 Jul 2008 16:59:43 +0000 (20:59 +0400)
committerKim Phillips <kim.phillips@freescale.com>
Wed, 16 Jul 2008 19:16:44 +0000 (14:16 -0500)
commit015b27b9e165fcf220e42f2c4afbaeaa2758fcf6
tree0396a9a8b9c6c34b2b12f2eab5a5242214e7a323
parent699f05125509249072a0b865c8d35520d97cd501
fdt_support: fdt_fixup_dr_usb: add support for phy_type fixups

Currently U-Boot can only fixup the usb dr_mode, but some boards (namely
MPC8315E-RDB) can use two PHY types: ULPI (stand-alone OTG port) or UTMI
(connected to the four-ports hub, usb host only).

This patch implements support for passing Dual-Role USB controller's
device tree property phy_type through the usb_phy_type environment
variable.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
common/fdt_support.c