Skip to contentSkip to conversation

ARM: shmobile: marzen-reference: Remove C board code

PATCH Superseded Magnus Damm 1 participant 2 messages Feb 18, 2015

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 4/5 ARM: shmobile: marzen-reference: Remove C board code

From: Magnus Damm <[email protected]>

The generic r8a7779 machine vector is now feature-wise equivalent to the Marzen-reference case, so simply remove the Marzen C board code to fall over on the generic r8a7779 machine vector.

---

 arch/arm/mach-shmobile/Kconfig                  |    7 ---
 arch/arm/mach-shmobile/Makefile                 |    2 
 arch/arm/mach-shmobile/board-marzen-reference.c |   49 -----------------------
 3 files changed, 58 deletions(-)
arch/arm/mach-shmobile/Kconfig +0 -7
@@ -84,13 +84,6 @@ config ARCH_SH73A0
 	select ARCH_RMOBILE
 	select RENESAS_INTC_IRQPIN
 
-comment "Renesas ARM SoCs Board Type"
-
-config MACH_MARZEN
-	bool "MARZEN board"
-	depends on ARCH_R8A7779
-	select REGULATOR_FIXED_VOLTAGE if REGULATOR
-
 comment "Renesas ARM SoCs System Configuration"
 endif
 
arch/arm/mach-shmobile/Makefile +0 -2
@@ -51,8 +51,6 @@ obj-$(CONFIG_PM_RMOBILE)	+= pm-rmobile.o
 
 # Board objects
 ifdef CONFIG_ARCH_SHMOBILE_MULTI
-obj-$(CONFIG_MACH_MARZEN)	+= board-marzen-reference.o
-else
 obj-$(CONFIG_MACH_APE6EVM)	+= board-ape6evm.o
 obj-$(CONFIG_MACH_APE6EVM_REFERENCE)	+= board-ape6evm-reference.o
 obj-$(CONFIG_MACH_BOCKW)	+= board-bockw.o
arch/arm/mach-shmobile/board-marzen-reference.c deleted +0 -49

49 lines not on this page · raw message

author maintainer
#1 lore raw
Quoted 33 lines · Magnus Damm

From: Magnus Damm <[email protected]>

The generic r8a7779 machine vector is now feature-wise equivalent to the Marzen-reference case, so simply remove the Marzen C board code to fall over on the generic r8a7779 machine vector.

---

 arch/arm/mach-shmobile/Kconfig                  |    7 ---
 arch/arm/mach-shmobile/Makefile                 |    2
 arch/arm/mach-shmobile/board-marzen-reference.c |   49 -----------------------
 3 files changed, 58 deletions(-)
arch/arm/mach-shmobile/Kconfig 2015-02-17 02:31:26.496199165 +0900 renamed from arch/arm/mach-shmobile/Kconfig +0 -7
@@ -84,13 +84,6 @@ config ARCH_SH73A0
        select ARCH_RMOBILE
        select RENESAS_INTC_IRQPIN
 
-comment "Renesas ARM SoCs Board Type"
-
-config MACH_MARZEN
-       bool "MARZEN board"
-       depends on ARCH_R8A7779
-       select REGULATOR_FIXED_VOLTAGE if REGULATOR
-
 comment "Renesas ARM SoCs System Configuration"
 endif
 

arch/arm/mach-shmobile/Makefile 2015-02-17 02:29:29.276199586 +0900 obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o · line 56

Quoted 8 lines
arch/arm/mach-shmobile/Makefile 2015-02-17 02:29:29.276199586 +0900 renamed from arch/arm/mach-shmobile/Makefile +0 -2
@@ -51,8 +51,6 @@ obj-$(CONFIG_PM_RMOBILE)      += pm-rmobile.o
 
 # Board objects
 ifdef CONFIG_ARCH_SHMOBILE_MULTI
-obj-$(CONFIG_MACH_MARZEN)      += board-marzen-reference.o
-else
 obj-$(CONFIG_MACH_APE6EVM)     += board-ape6evm.o
 obj-$(CONFIG_MACH_APE6EVM_REFERENCE)   += board-ape6evm-reference.o
 obj-$(CONFIG_MACH_BOCKW)       += board-bockw.o

Oops, the hunk above is wrong. The code both compiled and executed OK though. =)

I will fix and resend after receiving feedback on this series.

Cheers,

/ magnus