diff options
author | Markus Klotzbuecher <mk@denx.de> | 2006-05-23 10:33:11 +0200 |
---|---|---|
committer | Markus Klotzbuecher <mk@pollux.denx.de> | 2006-05-23 10:33:11 +0200 |
commit | 24e37645e7378b20fa8f20e2996c8fb8e90c70c9 (patch) | |
tree | 466a18dd76abda5b0bd08e90922e3261b780474a /drivers/usb_ohci.h | |
parent | 3e326ece9eba8184f5d48aa4fb87760a8f6f0f10 (diff) | |
download | u-boot-imx-24e37645e7378b20fa8f20e2996c8fb8e90c70c9.zip u-boot-imx-24e37645e7378b20fa8f20e2996c8fb8e90c70c9.tar.gz u-boot-imx-24e37645e7378b20fa8f20e2996c8fb8e90c70c9.tar.bz2 |
More cleanup for the delta board and the generic usb_ohci driver. Added
CFG_USB_BOARD_INIT and CFG_USB_CPU_INIT for enabling board and cpu specific
initialization and cleanup hooks respectively.
Diffstat (limited to 'drivers/usb_ohci.h')
-rw-r--r-- | drivers/usb_ohci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb_ohci.h b/drivers/usb_ohci.h index 7a1d9d9..c37b5f6 100644 --- a/drivers/usb_ohci.h +++ b/drivers/usb_ohci.h @@ -8,8 +8,16 @@ */ /* functions for doing board specific setup/cleanup */ +#ifdef CFG_USB_BOARD_INIT extern int usb_board_init(void); extern int usb_board_stop(void); +#endif + +#ifdef CFG_USB_CPU_INIT +extern int usb_cpu_init(void); +extern int usb_cpu_stop(void); +#endif + static int cc_to_error[16] = { |