improved au1000 usb patch

SVN-Revision: 8218
lede-17.01
John Crispin 2007-07-29 17:42:20 +00:00
parent 5a326c9784
commit 867c2c936c
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
void __init board_setup(void) void __init board_setup(void)
{ {
-#ifdef CONFIG_USB_OHCI -#ifdef CONFIG_USB_OHCI
+#ifdef CONFIG_USB_OHCI_HCD || CONFIG_USB_OHCI_HCD_MODULE +#if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE)
// enable USB power switch // enable USB power switch
au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR ); au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
au_writel( 0x100000, GPIO2_OUTPUT ); au_writel( 0x100000, GPIO2_OUTPUT );