summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2015-01-14 17:21:00 -0800
committerTony Lindgren <tony@atomide.com>2015-01-14 17:21:00 -0800
commitca662ee7b8a85c54c1cb9ef34b7c6b4f67933a7e (patch)
tree3acb82ec5f0b52ae2f8d865ab1cc6d0cfba15a9a /arch/arm/mach-omap2/usb-musb.c
parentfc24fc650620cbf94b277af5f25fa38cc9fe6656 (diff)
downloadlinux-ca662ee7b8a85c54c1cb9ef34b7c6b4f67933a7e.tar.gz
linux-ca662ee7b8a85c54c1cb9ef34b7c6b4f67933a7e.tar.bz2
linux-ca662ee7b8a85c54c1cb9ef34b7c6b4f67933a7e.zip
ARM: OMAP2+: Remove unused ti81xx platform init code
The support for 81xx was never working in mainline, and the broken legacy booting support has been removed. There are patches coming to make 81xx boot with device tree, and for that we won't need any of this legacy platform code, so let's just remove it. Cc: Brian Hutchinson <b.hutchman@gmail.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index bc897231bd10..e4562b2b973b 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -82,16 +82,8 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
musb_plat.mode = board_data->mode;
musb_plat.extvbus = board_data->extvbus;
- if (soc_is_am35xx()) {
- oh_name = "am35x_otg_hs";
- name = "musb-am35x";
- } else if (cpu_is_ti81xx()) {
- oh_name = "usb_otg_hs";
- name = "musb-ti81xx";
- } else {
- oh_name = "usb_otg_hs";
- name = "musb-omap2430";
- }
+ oh_name = "usb_otg_hs";
+ name = "musb-omap2430";
oh = omap_hwmod_lookup(oh_name);
if (WARN(!oh, "%s: could not find omap_hwmod for %s\n",