]> git.sur5r.net Git - u-boot/commit
usb: xhci: Remove assumption of DWC instance based on DRA7 SoC type
authorNishanth Menon <nm@ti.com>
Tue, 29 Nov 2016 09:51:59 +0000 (15:21 +0530)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:10 +0000 (13:21 -0500)
commit042fdb7cabb8270eb86c45f11263fa91c12e3b65
treeec36b15cfd836571b22fcb7d9e4c88e8f78ede13
parent4361220daeb0bc151a844230c33fb87f989cb25e
usb: xhci: Remove assumption of DWC instance based on DRA7 SoC type

Both AM57xx and DRA7xx share the same set of base addresses for DWC
controllers. The usage however differ with DWC2 instance used typically
in AM57xx evms while DWC1 instances used in DRA7x platforms.

Use TARGET_SOC config to differentiate so that CONFIG_AM57XX can be dropped.

Eventually, this needs to be dt-fied.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/linux/usb/xhci-omap.h