Author: rmilecki
Date: 2016-01-19 21:58:53 +0100 (Tue, 19 Jan 2016)
New Revision: 48369

Added:
   
trunk/target/linux/bcm53xx/patches-4.1/034-PCI-iproc-Fix-BCMA-dependency-in-Kconfig.patch
   
trunk/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
Log:
bcm53xx: backport iProc Kconfig fixes

Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>

Added: 
trunk/target/linux/bcm53xx/patches-4.1/034-PCI-iproc-Fix-BCMA-dependency-in-Kconfig.patch
===================================================================
--- 
trunk/target/linux/bcm53xx/patches-4.1/034-PCI-iproc-Fix-BCMA-dependency-in-Kconfig.patch
                           (rev 0)
+++ 
trunk/target/linux/bcm53xx/patches-4.1/034-PCI-iproc-Fix-BCMA-dependency-in-Kconfig.patch
   2016-01-19 20:58:53 UTC (rev 48369)
@@ -0,0 +1,28 @@
+From 70d334ca71b0e35ef21493d86799cec83f452d94 Mon Sep 17 00:00:00 2001
+From: Ray Jui <[email protected]>
+Date: Wed, 29 Jul 2015 10:12:53 -0700
+Subject: [PATCH] PCI: iproc: Fix BCMA dependency in Kconfig
+
+The current iProc BCMA front-end driver can only work on ARM32 based
+platforms; therefore its config option in Kconfig should be changed to
+reflect that. This fixes arm64 allmodconfig build failure when compiling
+the the iProc BCMA driver that contains struct pci_sys_data that is
+arm32 specific
+
+Signed-off-by: Ray Jui <[email protected]>
+Signed-off-by: Olof Johansson <[email protected]>
+---
+ drivers/pci/host/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/pci/host/Kconfig
++++ b/drivers/pci/host/Kconfig
+@@ -127,7 +127,7 @@ config PCIE_IPROC_PLATFORM
+ 
+ config PCIE_IPROC_BCMA
+       bool "Broadcom iProc PCIe BCMA bus driver"
+-      depends on ARCH_BCM_IPROC || (ARM && COMPILE_TEST)
++      depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
+       select PCIE_IPROC
+       select BCMA
+       select PCI_DOMAINS

Added: 
trunk/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
===================================================================
--- 
trunk/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
                               (rev 0)
+++ 
trunk/target/linux/bcm53xx/patches-4.1/035-PCI-iproc-Allow-BCMA-bus-driver-to-be-built-as-modul.patch
       2016-01-19 20:58:53 UTC (rev 48369)
@@ -0,0 +1,26 @@
+From 05aa7d6a72c1fca809e4d8bfdc5fa202cb8bed37 Mon Sep 17 00:00:00 2001
+From: Hauke Mehrtens <[email protected]>
+Date: Sat, 25 Jul 2015 21:15:24 +0200
+Subject: [PATCH] PCI: iproc: Allow BCMA bus driver to be built as module
+
+Change CONFIG_PCIE_IPROC_BCMA to tristate to make it possible to build this
+driver as a module.
+
+Signed-off-by: Hauke Mehrtens <[email protected]>
+Signed-off-by: Bjorn Helgaas <[email protected]>
+Acked-by: Ray Jui <[email protected]>
+---
+ drivers/pci/host/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/pci/host/Kconfig
++++ b/drivers/pci/host/Kconfig
+@@ -126,7 +126,7 @@ config PCIE_IPROC_PLATFORM
+         through the generic platform bus interface
+ 
+ config PCIE_IPROC_BCMA
+-      bool "Broadcom iProc PCIe BCMA bus driver"
++      tristate "Broadcom iProc PCIe BCMA bus driver"
+       depends on ARM && (ARCH_BCM_IPROC || COMPILE_TEST)
+       select PCIE_IPROC
+       select BCMA
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to