summaryrefslogtreecommitdiff
path: root/drivers/usb_ohci.h
diff options
context:
space:
mode:
authorMarkus Klotzbuecher <mk@denx.de>2006-05-23 10:33:11 +0200
committerMarkus Klotzbuecher <mk@pollux.denx.de>2006-05-23 10:33:11 +0200
commit24e37645e7378b20fa8f20e2996c8fb8e90c70c9 (patch)
tree466a18dd76abda5b0bd08e90922e3261b780474a /drivers/usb_ohci.h
parent3e326ece9eba8184f5d48aa4fb87760a8f6f0f10 (diff)
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb_ohci.h b/drivers/usb_ohci.h
index 7a1d9d9ccd..c37b5f6005 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] = {