Skip to contentSkip to conversation

soc: Move brcmstb to bcm/brcmstb

PATCH In review Florian Fainelli 2 participants 3 messages May 20, 2016 – May 31, 2016 Broadcom BCM7XXX Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: Move brcmstb to bcm/brcmstb

Unify the different Broadcom SoCs directory and have everybody live under drivers/soc/bcm/*.

---
 drivers/soc/Kconfig                     |  1 -
 drivers/soc/Makefile                    |  1 -
 drivers/soc/bcm/Kconfig                 | 15 +++++++++++++++
 drivers/soc/bcm/Makefile                |  1 +
 drivers/soc/{ => bcm}/brcmstb/Makefile  |  0
 drivers/soc/{ => bcm}/brcmstb/biuctrl.c |  0
 drivers/soc/{ => bcm}/brcmstb/common.c  |  0
 drivers/soc/brcmstb/Kconfig             | 10 ----------
 8 files changed, 16 insertions(+), 12 deletions(-)
 rename drivers/soc/{ => bcm}/brcmstb/Makefile (100%)
 rename drivers/soc/{ => bcm}/brcmstb/biuctrl.c (100%)
 rename drivers/soc/{ => bcm}/brcmstb/common.c (100%)
 delete mode 100644 drivers/soc/brcmstb/Kconfig
drivers/soc/Kconfig +0 -1
index cb58ef0d9b2c..91d5c05d395f 100644
@@ -1,7 +1,6 @@
 menu "SOC (System On Chip) specific Drivers"
 
 source "drivers/soc/bcm/Kconfig"
-source "drivers/soc/brcmstb/Kconfig"
 source "drivers/soc/fsl/qe/Kconfig"
 source "drivers/soc/mediatek/Kconfig"
 source "drivers/soc/qcom/Kconfig"
drivers/soc/Makefile +0 -1
index 380230f03874..b75e3bd0a01e 100644
@@ -3,7 +3,6 @@
 #
 
 obj-y				+= bcm/
-obj-$(CONFIG_SOC_BRCMSTB)	+= brcmstb/
 obj-$(CONFIG_ARCH_DOVE)		+= dove/
 obj-$(CONFIG_MACH_DOVE)		+= dove/
 obj-y				+= fsl/
drivers/soc/bcm/Kconfig +15 -0
index 3066edea184d..97156aeed286 100644
@@ -1,3 +1,5 @@
+menu "Broadcom SoC drivers"
+
 config RASPBERRYPI_POWER
 	bool "Raspberry Pi power domain driver"
 	depends on ARCH_BCM2835 || COMPILE_TEST
@@ -7,3 +9,16 @@ config RASPBERRYPI_POWER
 	help
 	  This enables support for the RPi power domains which can be enabled
 	  or disabled via the RPi firmware.
+
+config SOC_BRCMSTB
+	bool "Broadcom STB SoC drivers"
+	depends on ARM
+	select SOC_BUS
+	help
+	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
+	  This option alone enables only some support code, while the drivers
+	  can be enabled individually within this menu.
+
+	  If unsure, say N.
+
+endmenu
drivers/soc/bcm/Makefile +1 -0
index 63aa3eb23087..dc4fced72d21 100644
@@ -1 +1,2 @@
 obj-$(CONFIG_RASPBERRYPI_POWER)	+= raspberrypi-power.o
+obj-$(CONFIG_SOC_BRCMSTB)	+= brcmstb/
drivers/soc/bcm/brcmstb/Makefile renamed from drivers/soc/brcmstb/Makefile +0 -0
similarity index 100%
rename from drivers/soc/brcmstb/Makefile
rename to drivers/soc/bcm/brcmstb/Makefile
drivers/soc/bcm/brcmstb/biuctrl.c renamed from drivers/soc/brcmstb/biuctrl.c +0 -0
similarity index 100%
rename from drivers/soc/brcmstb/biuctrl.c
rename to drivers/soc/bcm/brcmstb/biuctrl.c
drivers/soc/bcm/brcmstb/common.c renamed from drivers/soc/brcmstb/common.c +0 -0
similarity index 100%
rename from drivers/soc/brcmstb/common.c
rename to drivers/soc/bcm/brcmstb/common.c
drivers/soc/brcmstb/Kconfig deleted +0 -10
deleted file mode 100644
index 7fec3b4c80a1..000000000000
@@ -1,10 +0,0 @@
-menuconfig SOC_BRCMSTB
-	bool "Broadcom STB SoC drivers"
-	depends on ARM
-	select SOC_BUS
-	help
-	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
-	  This option alone enables only some support code, while the drivers
-	  can be enabled individually within this menu.
-
-	  If unsure, say N.
Signature · 1 line
2.7.4
Acked-by on v1 1/1
#1 lore raw

Hi Florian,

Looks good.

Quoted 4 lines · Florian Fainelli

Unify the different Broadcom SoCs directory and have everybody live under drivers/soc/bcm/*.

Quoted 102 lines
---
  drivers/soc/Kconfig                     |  1 -
  drivers/soc/Makefile                    |  1 -
  drivers/soc/bcm/Kconfig                 | 15 +++++++++++++++
  drivers/soc/bcm/Makefile                |  1 +
  drivers/soc/{ => bcm}/brcmstb/Makefile  |  0
  drivers/soc/{ => bcm}/brcmstb/biuctrl.c |  0
  drivers/soc/{ => bcm}/brcmstb/common.c  |  0
  drivers/soc/brcmstb/Kconfig             | 10 ----------
  8 files changed, 16 insertions(+), 12 deletions(-)

rename drivers/soc/{ => bcm}/brcmstb/Makefile (100%) rename drivers/soc/{ => bcm}/brcmstb/biuctrl.c (100%) rename drivers/soc/{ => bcm}/brcmstb/common.c (100%) delete mode 100644 drivers/soc/brcmstb/Kconfig

drivers/soc/Kconfig +0 -1
index cb58ef0d9b2c..91d5c05d395f 100644
@@ -1,7 +1,6 @@
  menu "SOC (System On Chip) specific Drivers"
 
  source "drivers/soc/bcm/Kconfig"
-source "drivers/soc/brcmstb/Kconfig"
  source "drivers/soc/fsl/qe/Kconfig"
  source "drivers/soc/mediatek/Kconfig"
  source "drivers/soc/qcom/Kconfig"
drivers/soc/Makefile +0 -1
index 380230f03874..b75e3bd0a01e 100644
@@ -3,7 +3,6 @@
  #
 
  obj-y				+= bcm/
-obj-$(CONFIG_SOC_BRCMSTB)	+= brcmstb/
  obj-$(CONFIG_ARCH_DOVE)		+= dove/
  obj-$(CONFIG_MACH_DOVE)		+= dove/
  obj-y				+= fsl/
drivers/soc/bcm/Kconfig +15 -0
index 3066edea184d..97156aeed286 100644
@@ -1,3 +1,5 @@
+menu "Broadcom SoC drivers"
+
  config RASPBERRYPI_POWER
  	bool "Raspberry Pi power domain driver"
  	depends on ARCH_BCM2835 || COMPILE_TEST
@@ -7,3 +9,16 @@ config RASPBERRYPI_POWER
  	help
  	  This enables support for the RPi power domains which can be enabled
  	  or disabled via the RPi firmware.
+
+config SOC_BRCMSTB
+	bool "Broadcom STB SoC drivers"
+	depends on ARM
+	select SOC_BUS
+	help
+	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
+	  This option alone enables only some support code, while the drivers
+	  can be enabled individually within this menu.
+
+	  If unsure, say N.
+
+endmenu
drivers/soc/bcm/Makefile +1 -0
index 63aa3eb23087..dc4fced72d21 100644
@@ -1 +1,2 @@
  obj-$(CONFIG_RASPBERRYPI_POWER)	+= raspberrypi-power.o
+obj-$(CONFIG_SOC_BRCMSTB)	+= brcmstb/
drivers/soc/bcm/brcmstb/Makefile renamed from drivers/soc/brcmstb/Makefile +0 -0
similarity index 100%
rename from drivers/soc/brcmstb/Makefile
rename to drivers/soc/bcm/brcmstb/Makefile
drivers/soc/bcm/brcmstb/biuctrl.c renamed from drivers/soc/brcmstb/biuctrl.c +0 -0
similarity index 100%
rename from drivers/soc/brcmstb/biuctrl.c
rename to drivers/soc/bcm/brcmstb/biuctrl.c
drivers/soc/bcm/brcmstb/common.c renamed from drivers/soc/brcmstb/common.c +0 -0
similarity index 100%
rename from drivers/soc/brcmstb/common.c
rename to drivers/soc/bcm/brcmstb/common.c
drivers/soc/brcmstb/Kconfig deleted +0 -10
deleted file mode 100644
index 7fec3b4c80a1..000000000000
@@ -1,10 +0,0 @@
-menuconfig SOC_BRCMSTB
-	bool "Broadcom STB SoC drivers"
-	depends on ARM
-	select SOC_BUS
-	help
-	  Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
-	  This option alone enables only some support code, while the drivers
-	  can be enabled individually within this menu.
-
-	  If unsure, say N.