summaryrefslogtreecommitdiff
path: root/board/micronas
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2011-08-01 11:14:33 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:24 -0700
commit5334757c396f62eb5d01c6d15efce105dc94eec4 (patch)
tree889557bfe36a1e3f01d1d3a9523a4977a3794264 /board/micronas
parent94e9eb775fce848a47b2e5d0b40f7f0b8c3e8f3f (diff)
usb: add multiple controllers support for EHCI
Add the ability to have several active EHCI controller on a system and implement it for Tegra EHCI controllers. BUG=chrome-os-partner:5043 TEST=boot an Aebl with USB key on USB3 port, boot a Kaen with USB key on USB1 port, boot a Kaen with USB key on USB3 port. Change-Id: Id37a9a4f92b986505fd6f8778d6f7964890d46b4 Reviewed-on: http://gerrit.chromium.org/gerrit/4981 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/micronas')
-rw-r--r--board/micronas/vct/ehci.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/board/micronas/vct/ehci.c b/board/micronas/vct/ehci.c
index d04bdceac9..aa06df40c4 100644
--- a/board/micronas/vct/ehci.c
+++ b/board/micronas/vct/ehci.c
@@ -24,7 +24,10 @@
#include "vct.h"
-int vct_ehci_hcd_init(u32 *hccr, u32 *hcor)
+struct ehci_hccr;
+struct ehci_hcor;
+
+int vct_ehci_hcd_init(struct ehci_hccr **hccr, struct ehci_hcor **hcor)
{
int retval;
u32 val;