From de79f4ab882b2955432eb8104fd5426745262e83 Mon Sep 17 00:00:00 2001
From: Paul Wassi
Date: Tue, 13 Mar 2018 09:43:43 +0100
Subject: brcm47xx: add kernel 4.14 support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Add patches for 4.14, drop patch 030 since it's already included
upstream.
Tested on:
1) WRT54GL (with RAM upgraded to 32 MiB)
2) WL500gPv2 (with RAM upgraded to 64 MiB)
3) BCM47186B0 SoC board
4) BCM4706 SoC board
Signed-off-by: Paul Wassi
Signed-off-by: Rafał Miłecki
---
.../280-activate_ssb_support_in_usb.patch | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 target/linux/brcm47xx/patches-4.14/280-activate_ssb_support_in_usb.patch
(limited to 'target/linux/brcm47xx/patches-4.14/280-activate_ssb_support_in_usb.patch')
diff --git a/target/linux/brcm47xx/patches-4.14/280-activate_ssb_support_in_usb.patch b/target/linux/brcm47xx/patches-4.14/280-activate_ssb_support_in_usb.patch
new file mode 100644
index 0000000..0df8ec1
--- /dev/null
+++ b/target/linux/brcm47xx/patches-4.14/280-activate_ssb_support_in_usb.patch
@@ -0,0 +1,25 @@
+This prevents the options from being delete with make kernel_oldconfig.
+---
+ drivers/ssb/Kconfig | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/drivers/bcma/Kconfig
++++ b/drivers/bcma/Kconfig
+@@ -31,6 +31,7 @@ config BCMA_HOST_PCI
+ config BCMA_HOST_SOC
+ bool "Support for BCMA in a SoC"
+ depends on BCMA
++ select USB_HCD_BCMA if USB_EHCI_HCD || USB_OHCI_HCD
+ help
+ Host interface for a Broadcom AIX bus directly mapped into
+ the memory. This only works with the Broadcom SoCs from the
+--- a/drivers/ssb/Kconfig
++++ b/drivers/ssb/Kconfig
+@@ -157,6 +157,7 @@ config SSB_SFLASH
+ config SSB_EMBEDDED
+ bool
+ depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
++ select USB_HCD_SSB if USB_EHCI_HCD || USB_OHCI_HCD
+ default y
+
+ config SSB_DRIVER_EXTIF
--
cgit v1.1