2017-04-19 20:18:20

by Markus Mayer

[permalink] [raw]
Subject: [PATCH] soc: brcmstb: enable drivers for ARM64 also

From: Markus Mayer <[email protected]>

We enable the BRCMSTB SoC drivers not only for ARM, but also ARM64.

Signed-off-by: Markus Mayer <[email protected]>
---
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 a39b0d5..b3834b9 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
select SOC_BUS
help
Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
--
2.7.4


2017-04-19 21:21:28

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH] soc: brcmstb: enable drivers for ARM64 also

On 04/19/2017 01:18 PM, Markus Mayer wrote:
> From: Markus Mayer <[email protected]>
>
> We enable the BRCMSTB SoC drivers not only for ARM, but also ARM64.

This looks fine, can you also put add || BMIPS_GENERIC in there since
the driver is also used for these platforms?

We may also want a || COMPILE_TEST just to improve build coverage.

Thanks!

>
> Signed-off-by: Markus Mayer <[email protected]>
> ---
> 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 a39b0d5..b3834b9 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
> select SOC_BUS
> help
> Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
>


--
Florian