]> git.sur5r.net Git - u-boot/commitdiff
usb: ehci: rmobile: Add support R8A7794
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 24 Jul 2014 05:52:07 +0000 (14:52 +0900)
committerTom Rini <trini@ti.com>
Sat, 9 Aug 2014 15:17:01 +0000 (11:17 -0400)
R8A7794 has same IP of USB controller as R8A7790 and R8A7791.
This addes support for R8A7794.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
drivers/usb/host/ehci-rmobile.c

index 049e4c4e6b01bd08dd46ffc1427dc6a6fe0c45a5..29b4a93b55871b1c03277d3758d352e177949c8f 100644 (file)
@@ -29,6 +29,12 @@ static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
        0xEE0C0000,     /* USB1 */
        0xEE000000      /* USB3 (USB3.0 Host)*/
 };
+#elif defined(CONFIG_R8A7794)
+static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
+       0xEE080000,     /* USB0 (EHCI) */
+       0xEE0C0000,     /* USB1 */
+       /* R8A7794 does not have USB 3.0. */
+};
 #else
 #error rmobile EHCI USB driver not supported on this platform
 #endif