Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936929AbdDTEOd (ORCPT ); Thu, 20 Apr 2017 00:14:33 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:38622 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934501AbdDTEOb (ORCPT ); Thu, 20 Apr 2017 00:14:31 -0400 Date: Thu, 20 Apr 2017 07:14:26 +0300 From: Baruch Siach To: Markus Mayer Cc: Florian Fainelli , Arnd Bergmann , Broadcom Kernel List , ARM Kernel List , Markus Mayer , Linux Kernel Mailing List Subject: Re: [PATCH v2] soc: brcmstb: enable drivers for ARM64 and BMIPS Message-ID: <20170420041426.p6xfmnztel2d7hpa@tarshish> References: <20170419225040.71650-1-code@mmayer.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170419225040.71650-1-code@mmayer.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1411 Lines: 45 Hi Markus, On Wed, Apr 19, 2017 at 03:50:40PM -0700, Markus Mayer wrote: > From: Markus Mayer > > We enable the BRCMSTB SoC drivers not only for ARM, but also ARM64 and > BMIPS. > > Signed-off-by: Markus Mayer > --- > > I used (COMPILE_TEST & OF) as condition like Raspberry Pi, since we > have of_* calls in our code, too. All of_* calls under drivers/soc/bcm/ either have empty implementations for the !CONFIG_OF case, or call only such routines. The RPi OF condition is most likely not needed as well. baruch > Changes since v1: > - Add BMIPS > - Add COMPILE_TEST > > drivers/soc/bcm/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig > index a39b0d58ddd0..9463d6709909 100644 > --- a/drivers/soc/bcm/Kconfig > +++ b/drivers/soc/bcm/Kconfig > @@ -11,7 +11,7 @@ config RASPBERRYPI_POWER > > config SOC_BRCMSTB > bool "Broadcom STB SoC drivers" > - depends on ARM > + depends on ARM || ARM64 || BMIPS_GENERIC || (COMPILE_TEST && OF) > select SOC_BUS > help > Enables drivers for the Broadcom Set-Top Box (STB) series of chips. -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -