aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci.h
diff options
context:
space:
mode:
authorJan Andersson <jan@gaisler.com>2011-05-03 14:11:58 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-03 14:43:48 -0400
commit9be0392989306361d4a63a06a8ee281efbead548 (patch)
treef2dab853430cbdb78b5a639031ebfa6ea5c2479f /drivers/usb/host/ehci.h
parentc430131a02d677aa708f56342c1565edfdacb3c0 (diff)
USB: EHCI: Add bus glue for GRLIB GRUSBHC controller
This patch adds support for the GRLIB GRUSBHC EHCI controller from Aeroflex Gaisler. The controller is typically found on LEON/GRLIB SoCs. Tested on GR-LEON4-ITX with with little endian interface and on LEON3 system on GR-PCI-XC5V development board for big endian controller. Signed-off-by: Jan Andersson <jan@gaisler.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci.h')
-rw-r--r--drivers/usb/host/ehci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci.h b/drivers/usb/host/ehci.h
index d0792f591590..829213423dea 100644
--- a/drivers/usb/host/ehci.h
+++ b/drivers/usb/host/ehci.h
@@ -627,6 +627,9 @@ ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc)
627#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_IXP4XX) 627#if defined(CONFIG_ARM) && defined(CONFIG_ARCH_IXP4XX)
628#define readl_be(addr) __raw_readl((__force unsigned *)addr) 628#define readl_be(addr) __raw_readl((__force unsigned *)addr)
629#define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr) 629#define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr)
630#elif defined(CONFIG_SPARC_LEON)
631#define readl_be(addr) __raw_readl(addr)
632#define writel_be(val, addr) __raw_writel(val, addr)
630#endif 633#endif
631 634
632static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, 635static inline unsigned int ehci_readl(const struct ehci_hcd *ehci,