mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
improved au1000 usb patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8218 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e0eb07ca65
commit
9fba3d6b8e
@ -5,7 +5,7 @@
|
||||
void __init board_setup(void)
|
||||
{
|
||||
-#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
|
||||
au_writel( au_readl(GPIO2_DIR) | 0x10, GPIO2_DIR );
|
||||
au_writel( 0x100000, GPIO2_OUTPUT );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user