diff options
author | Lucas Stach <dev@lynxeye.de> | 2013-02-07 07:16:30 +0000 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2013-03-14 11:06:41 -0700 |
commit | d7a55e1a4b702bffae3e8ed43a5be125a30ba8ab (patch) | |
tree | 623023aaaef34fb652c8cbc6da6575e142c47a8b /arch | |
parent | 7ae18f3725fe3e2033888cf431f71ac08aaa8e1c (diff) | |
download | talos-obmc-uboot-d7a55e1a4b702bffae3e8ed43a5be125a30ba8ab.tar.gz talos-obmc-uboot-d7a55e1a4b702bffae3e8ed43a5be125a30ba8ab.zip |
tegra: usb: move [start|stop]_port into ehci_hcd_[init|stop]
The ehci_hcd entry points were just calling into the Tegra USB
functions. Now that they are in the same file we can just move over the
implementation.
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-tegra/usb.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/include/asm/arch-tegra/usb.h b/arch/arm/include/asm/arch-tegra/usb.h index b18c85080b..ef6c089be2 100644 --- a/arch/arm/include/asm/arch-tegra/usb.h +++ b/arch/arm/include/asm/arch-tegra/usb.h @@ -246,23 +246,4 @@ struct usb_ctlr { /* Setup USB on the board */ int board_usb_init(const void *blob); -/** - * Start up the given port number (ports are numbered from 0 on each board). - * This returns values for the appropriate hccr and hcor addresses to use for - * USB EHCI operations. - * - * @param portnum port number to start - * @param hccr returns start address of EHCI HCCR registers - * @param hcor returns start address of EHCI HCOR registers - * @return 0 if ok, -1 on error (generally invalid port number) - */ -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(int portnum); - #endif /* _TEGRA_USB_H_ */ |