diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-09-11 23:40:42 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-09-12 00:15:59 +0200 |
commit | 7489ea85a2596020587ba3202a55821075aa913f (patch) | |
tree | af0325d4ef20b7f81cd8adf6218e1e9f57438e29 /target | |
parent | c546855188d148233f0b984564a2b4b9edd91d81 (diff) | |
download | upstream-7489ea85a2596020587ba3202a55821075aa913f.tar.gz upstream-7489ea85a2596020587ba3202a55821075aa913f.tar.bz2 upstream-7489ea85a2596020587ba3202a55821075aa913f.zip |
Revert "ar71xx: use platform code for qca955x usb0 init"
This reverts commit 5b98061bb1ac7e3affadda7b55c6f4ed4eb8268e.
As Piotr Dymacz pointed out:
In QCA MIPS based WiSOCs, for first USB interface,
device/host mode can be selected _only_ in hardware
see description of 57c641ba6e
QCA955x and QCA9563, second USB can be switched to device
mode in software (tested and confirmed on real hardware).
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch b/target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch deleted file mode 100644 index 0325f80921..0000000000 --- a/target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/arch/mips/ath79/dev-usb.c -+++ b/arch/mips/ath79/dev-usb.c -@@ -317,7 +317,10 @@ static void __init qca955x_usb_setup(voi - { - ath79_ehci_pdata_v2.reset_notifier = qca955x_usb_reset_notifier; - -- ar9xxx_ci_usb_setup(0, ATH79_IP3_IRQ(0)); -+ ath79_usb_register("ehci-platform", 0, -+ QCA955X_EHCI0_BASE, QCA955X_EHCI_SIZE, -+ ATH79_IP3_IRQ(0), -+ &ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2)); - - ath79_usb_register("ehci-platform", 1, - QCA955X_EHCI1_BASE, QCA955X_EHCI_SIZE, |