Stefan Roese | a270d1e | 2009-01-29 06:33:55 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2009 Stefan Roese <sr@denx.de>, DENX Software Engineering |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License as |
| 6 | * published by the Free Software Foundation; either version 2 of |
| 7 | * the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 17 | * MA 02111-1307 USA |
| 18 | */ |
| 19 | |
| 20 | #include <common.h> |
| 21 | #include <usb.h> |
| 22 | |
Jean-Christophe PLAGNIOL-VILLARD | 2731b9a | 2009-04-03 12:46:58 +0200 | [diff] [blame^] | 23 | #include "ehci.h" |
| 24 | #include "ehci-core.h" |
Stefan Roese | a270d1e | 2009-01-29 06:33:55 +0100 | [diff] [blame] | 25 | |
| 26 | int vct_ehci_hcd_init(u32 *hccr, u32 *hcor); |
| 27 | |
| 28 | /* |
| 29 | * Create the appropriate control structures to manage |
| 30 | * a new EHCI host controller. |
| 31 | */ |
| 32 | int ehci_hcd_init(void) |
| 33 | { |
| 34 | int ret; |
| 35 | u32 vct_hccr; |
| 36 | u32 vct_hcor; |
| 37 | |
| 38 | /* |
| 39 | * Init VCT specific stuff |
| 40 | */ |
| 41 | ret = vct_ehci_hcd_init(&vct_hccr, &vct_hcor); |
| 42 | if (ret) |
| 43 | return ret; |
| 44 | |
| 45 | hccr = (struct ehci_hccr *)vct_hccr; |
| 46 | hcor = (struct ehci_hcor *)vct_hcor; |
| 47 | |
| 48 | return 0; |
| 49 | } |
| 50 | |
| 51 | /* |
| 52 | * Destroy the appropriate control structures corresponding |
| 53 | * the the EHCI host controller. |
| 54 | */ |
| 55 | int ehci_hcd_stop(void) |
| 56 | { |
| 57 | return 0; |
| 58 | } |