summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-tegra20
diff options
context:
space:
mode:
authorLucas Stach <dev@lynxeye.de>2012-09-26 00:14:37 +0200
committerTom Rini <trini@ti.com>2012-10-15 11:54:00 -0700
commita896211ff11d6eba553df710168fcab2a1b2d9ec (patch)
tree53daff60d4495f2ac805c2f4a19f5689b1a41b5a /arch/arm/include/asm/arch-tegra20
parent93c2582feaf88a899c2537698e91fbb58d488a5b (diff)
downloadu-boot-imx-a896211ff11d6eba553df710168fcab2a1b2d9ec.zip
u-boot-imx-a896211ff11d6eba553df710168fcab2a1b2d9ec.tar.gz
u-boot-imx-a896211ff11d6eba553df710168fcab2a1b2d9ec.tar.bz2
tegra20: port to new ehci interface
EHCI interface now supports more than one controller. Wire up our usb functions to use this new interface. Signed-off-by: Lucas Stach <dev@lynxeye.de>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra20')
-rw-r--r--arch/arm/include/asm/arch-tegra20/usb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-tegra20/usb.h b/arch/arm/include/asm/arch-tegra20/usb.h
index 638033b..4bbd4aa 100644
--- a/arch/arm/include/asm/arch-tegra20/usb.h
+++ b/arch/arm/include/asm/arch-tegra20/usb.h
@@ -240,13 +240,13 @@ int board_usb_init(const void *blob);
* @param hcor returns start address of EHCI HCOR registers
* @return 0 if ok, -1 on error (generally invalid port number)
*/
-int tegrausb_start_port(unsigned portnum, u32 *hccr, u32 *hcor);
+int tegrausb_start_port(int portnum, u32 *hccr, u32 *hcor);
/**
* Stop the current port
*
* @return 0 if ok, -1 if no port was active
*/
-int tegrausb_stop_port(void);
+int tegrausb_stop_port(int portnum);
#endif /* _TEGRA_USB_H_ */