Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380625 > unrolled thread

[PATCH v2] bus: brcmstb_gisb: Rework dependencies

Started byFlorian Fainelli <f.fainelli@gmail.com>
First post2016-04-16 22:50 +0200
Last post2016-04-18 23:30 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] bus: brcmstb_gisb: Rework dependencies Florian Fainelli <f.fainelli@gmail.com> - 2016-04-16 22:50 +0200
    Re: [PATCH v2] bus: brcmstb_gisb: Rework dependencies Florian Fainelli <f.fainelli@gmail.com> - 2016-04-18 23:30 +0200

#1380625 — [PATCH v2] bus: brcmstb_gisb: Rework dependencies

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-04-16 22:50 +0200
Subject[PATCH v2] bus: brcmstb_gisb: Rework dependencies
Message-ID<roFkd-10c-9@gated-at.bofh.it>
Do not have the machine Kconfig entry point need to select
BRCMSTB_GISB_ARB, instead, just let it be default ARCH_BRCMSTB which is
a better way to deal with this. While at it, also make it default
BMIPS_GENERIC so the legacy MIPS-based STB platforms can benefit from
the same thing.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Changes in v2:

- put conditional on the same line, do not use two default lines

 arch/arm/mach-bcm/Kconfig | 1 -
 drivers/bus/Kconfig       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index b95ea1135ef9..68ab6412392a 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -173,7 +173,6 @@ config ARCH_BRCMSTB
 	select ARM_GIC
 	select ARM_ERRATA_798181 if SMP
 	select HAVE_ARM_ARCH_TIMER
-	select BRCMSTB_GISB_ARB
 	select BRCMSTB_L2_IRQ
 	select BCM7120_L2_IRQ
 	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index d4a3a3133da5..8807495e0efd 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -58,6 +58,7 @@ config ARM_CCN
 config BRCMSTB_GISB_ARB
 	bool "Broadcom STB GISB bus arbiter"
 	depends on ARM || MIPS
+	default ARCH_BRCMSTB || BMIPS_GENERIC
 	help
 	  Driver for the Broadcom Set Top Box System-on-a-chip internal bus
 	  arbiter. This driver provides timeout and target abort error handling
-- 
2.5.0

[toc] | [next] | [standalone]


#1382067

FromFlorian Fainelli <f.fainelli@gmail.com>
Date2016-04-18 23:30 +0200
Message-ID<rpoU1-422-3@gated-at.bofh.it>
In reply to#1380625
On 16/04/16 13:46, Florian Fainelli wrote:
> Do not have the machine Kconfig entry point need to select
> BRCMSTB_GISB_ARB, instead, just let it be default ARCH_BRCMSTB which is
> a better way to deal with this. While at it, also make it default
> BMIPS_GENERIC so the legacy MIPS-based STB platforms can benefit from
> the same thing.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied to drivers/next
-- 
Florian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web