Skip to contentSkip to conversation

soc: brcmstb: enable drivers for ARM64 and BMIPS

PATCH Superseded Markus Mayer 2 participants 2 messages Apr 19, 2017 – Apr 20, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 soc: brcmstb: enable drivers for ARM64 and BMIPS

From: Markus Mayer <[email protected]>

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

---

I used (COMPILE_TEST & OF) as condition like Raspberry Pi, since we have of_* calls in our code, too.

Changes since v1:
- Add BMIPS
- Add COMPILE_TEST

 drivers/soc/bcm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/bcm/Kconfig +1 -1
index a39b0d58ddd0..9463d6709909 100644
@@ -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.
Signature · 1 line
2.12.0
#1 lore raw

Hi Markus,

Quoted 10 lines · Markus Mayer

From: Markus Mayer <[email protected]>

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

---

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

Quoted 20 lines

Changes since v1:
- Add BMIPS
- Add COMPILE_TEST

 drivers/soc/bcm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/bcm/Kconfig +1 -1
index a39b0d58ddd0..9463d6709909 100644
@@ -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.
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -