Skip to contentSkip to conversation

ARM: rmobile: Drop old R8A7790 PFC tables

PATCH New Marek Vasut 1 participant 6 messages May 12, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/6 ARM: rmobile: Drop old R8A7790 PFC tables

All the boards use new modern PFC framework, the old PFC tables are no longer used, so remove them.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mach-rmobile/Makefile                    |    2 +-
 arch/arm/mach-rmobile/include/mach/gpio.h         |    3 -
 arch/arm/mach-rmobile/include/mach/r8a7790-gpio.h |  387 -----
 arch/arm/mach-rmobile/pfc-r8a7790.c               | 1813 ---------------------
 4 files changed, 1 insertion(+), 2204 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/include/mach/r8a7790-gpio.h
 delete mode 100644 arch/arm/mach-rmobile/pfc-r8a7790.c
arch/arm/mach-rmobile/Makefile +1 -1
index 51453a88dc..e1b97e662a 100644
@@ -9,7 +9,7 @@ obj-y += emac.o
 obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o
 obj-$(CONFIG_GLOBAL_TIMER) += timer.o
 obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
-obj-$(CONFIG_R8A7790) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7790.o
+obj-$(CONFIG_R8A7790) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7791) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7791.o
 obj-$(CONFIG_R8A7792) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7792.o
 obj-$(CONFIG_R8A7793) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7793.o
arch/arm/mach-rmobile/include/mach/gpio.h +0 -3
index 448d189e92..5f37a1f8e6 100644
@@ -7,9 +7,6 @@ void sh73a0_pinmux_init(void);
 #elif defined(CONFIG_R8A7740)
 #include "r8a7740-gpio.h"
 void r8a7740_pinmux_init(void);
-#elif defined(CONFIG_R8A7790)
-#include "r8a7790-gpio.h"
-void r8a7790_pinmux_init(void);
 #elif defined(CONFIG_R8A7791)
 #include "r8a7791-gpio.h"
 void r8a7791_pinmux_init(void);
arch/arm/mach-rmobile/include/mach/r8a7790-gpio.h deleted +0 -387

387 lines not on this page · raw message

arch/arm/mach-rmobile/pfc-r8a7790.c deleted +0 -1813

1,813 lines not on this page · raw message

Signature · 1 line
2.16.2
#1 lore raw

PATCH 2/6 ARM: rmobile: Drop old R8A7791 PFC tables

All the boards use new modern PFC framework, the old PFC tables are no longer used, so remove them.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mach-rmobile/Makefile                    |    2 +-
 arch/arm/mach-rmobile/include/mach/gpio.h         |    3 -
 arch/arm/mach-rmobile/include/mach/r8a7791-gpio.h |  438 --------
 arch/arm/mach-rmobile/pfc-r8a7791.c               | 1116 ---------------------
 4 files changed, 1 insertion(+), 1558 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/include/mach/r8a7791-gpio.h
 delete mode 100644 arch/arm/mach-rmobile/pfc-r8a7791.c
arch/arm/mach-rmobile/Makefile +1 -1
index e1b97e662a..d8d7a79d29 100644
@@ -10,7 +10,7 @@ obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o
 obj-$(CONFIG_GLOBAL_TIMER) += timer.o
 obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
 obj-$(CONFIG_R8A7790) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7791) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7791.o
+obj-$(CONFIG_R8A7791) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7792) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7792.o
 obj-$(CONFIG_R8A7793) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7793.o
 obj-$(CONFIG_R8A7794) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7794.o
arch/arm/mach-rmobile/include/mach/gpio.h +0 -3
index 5f37a1f8e6..4e727313e2 100644
@@ -7,9 +7,6 @@ void sh73a0_pinmux_init(void);
 #elif defined(CONFIG_R8A7740)
 #include "r8a7740-gpio.h"
 void r8a7740_pinmux_init(void);
-#elif defined(CONFIG_R8A7791)
-#include "r8a7791-gpio.h"
-void r8a7791_pinmux_init(void);
 #elif defined(CONFIG_R8A7792)
 #include "r8a7792-gpio.h"
 void r8a7792_pinmux_init(void);
arch/arm/mach-rmobile/include/mach/r8a7791-gpio.h deleted +0 -438

438 lines not on this page · raw message

arch/arm/mach-rmobile/pfc-r8a7791.c deleted +0 -1116

1,116 lines not on this page · raw message

Signature · 1 line
2.16.2
#2 lore raw

PATCH 3/6 ARM: rmobile: Drop old R8A7792 PFC tables

In reply to Marek Vasut

All the boards use new modern PFC framework, the old PFC tables are no longer used, so remove them.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mach-rmobile/Makefile                    |    2 +-
 arch/arm/mach-rmobile/include/mach/gpio.h         |    3 -
 arch/arm/mach-rmobile/include/mach/r8a7792-gpio.h |  220 --
 arch/arm/mach-rmobile/pfc-r8a7792.c               | 2301 ---------------------
 4 files changed, 1 insertion(+), 2525 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/include/mach/r8a7792-gpio.h
 delete mode 100644 arch/arm/mach-rmobile/pfc-r8a7792.c
arch/arm/mach-rmobile/Makefile +1 -1
index d8d7a79d29..b54533abae 100644
@@ -11,7 +11,7 @@ obj-$(CONFIG_GLOBAL_TIMER) += timer.o
 obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
 obj-$(CONFIG_R8A7790) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7791) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7792) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7792.o
+obj-$(CONFIG_R8A7792) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7793) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7793.o
 obj-$(CONFIG_R8A7794) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7794.o
 obj-$(CONFIG_RCAR_GEN3) += lowlevel_init_gen3.o cpu_info-rcar.o memmap-gen3.o
arch/arm/mach-rmobile/include/mach/gpio.h +0 -3
index 4e727313e2..532b728721 100644
@@ -7,9 +7,6 @@ void sh73a0_pinmux_init(void);
 #elif defined(CONFIG_R8A7740)
 #include "r8a7740-gpio.h"
 void r8a7740_pinmux_init(void);
-#elif defined(CONFIG_R8A7792)
-#include "r8a7792-gpio.h"
-void r8a7792_pinmux_init(void);
 #elif defined(CONFIG_R8A7793)
 #include "r8a7793-gpio.h"
 void r8a7793_pinmux_init(void);
arch/arm/mach-rmobile/include/mach/r8a7792-gpio.h deleted +0 -220

220 lines not on this page · raw message

arch/arm/mach-rmobile/pfc-r8a7792.c deleted +0 -2301

2,301 lines not on this page · raw message

Signature · 1 line
2.16.2
#3 lore raw

PATCH 4/6 ARM: rmobile: Drop old R8A7793 PFC tables

In reply to Marek Vasut

All the boards use new modern PFC framework, the old PFC tables are no longer used, so remove them.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mach-rmobile/Makefile                    |    2 +-
 arch/arm/mach-rmobile/include/mach/gpio.h         |    3 -
 arch/arm/mach-rmobile/include/mach/r8a7793-gpio.h |  438 -----
 arch/arm/mach-rmobile/pfc-r8a7793.c               | 1925 ---------------------
 4 files changed, 1 insertion(+), 2367 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/include/mach/r8a7793-gpio.h
 delete mode 100644 arch/arm/mach-rmobile/pfc-r8a7793.c
arch/arm/mach-rmobile/Makefile +1 -1
index b54533abae..6c09e376f9 100644
@@ -12,7 +12,7 @@ obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
 obj-$(CONFIG_R8A7790) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7791) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7792) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7793) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7793.o
+obj-$(CONFIG_R8A7793) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7794) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7794.o
 obj-$(CONFIG_RCAR_GEN3) += lowlevel_init_gen3.o cpu_info-rcar.o memmap-gen3.o
 obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o
arch/arm/mach-rmobile/include/mach/gpio.h +0 -3
index 532b728721..83a57cb8ca 100644
@@ -7,9 +7,6 @@ void sh73a0_pinmux_init(void);
 #elif defined(CONFIG_R8A7740)
 #include "r8a7740-gpio.h"
 void r8a7740_pinmux_init(void);
-#elif defined(CONFIG_R8A7793)
-#include "r8a7793-gpio.h"
-void r8a7793_pinmux_init(void);
 #elif defined(CONFIG_R8A7794)
 #include "r8a7794-gpio.h"
 void r8a7794_pinmux_init(void);
arch/arm/mach-rmobile/include/mach/r8a7793-gpio.h deleted +0 -438

438 lines not on this page · raw message

arch/arm/mach-rmobile/pfc-r8a7793.c deleted +0 -1925

1,925 lines not on this page · raw message

Signature · 1 line
2.16.2
#4 lore raw

PATCH 5/6 ARM: rmobile: Drop old R8A7794 PFC tables

In reply to Marek Vasut

All the boards use new modern PFC framework, the old PFC tables are no longer used, so remove them.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mach-rmobile/Makefile                    |    2 +-
 arch/arm/mach-rmobile/include/mach/gpio.h         |    3 -
 arch/arm/mach-rmobile/include/mach/r8a7794-gpio.h |  276 ----
 arch/arm/mach-rmobile/pfc-r8a7794.c               | 1650 ---------------------
 4 files changed, 1 insertion(+), 1930 deletions(-)
 delete mode 100644 arch/arm/mach-rmobile/include/mach/r8a7794-gpio.h
 delete mode 100644 arch/arm/mach-rmobile/pfc-r8a7794.c
arch/arm/mach-rmobile/Makefile +1 -1
index 6c09e376f9..5b5462219b 100644
@@ -13,7 +13,7 @@ obj-$(CONFIG_R8A7790) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7791) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7792) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_R8A7793) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7794) += lowlevel_init_ca15.o cpu_info-rcar.o pfc-r8a7794.o
+obj-$(CONFIG_R8A7794) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_RCAR_GEN3) += lowlevel_init_gen3.o cpu_info-rcar.o memmap-gen3.o
 obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o
 obj-$(CONFIG_TMU_TIMER) += ../../sh/lib/time.o
arch/arm/mach-rmobile/include/mach/gpio.h +0 -3
index 83a57cb8ca..6b5e4ed4eb 100644
@@ -7,9 +7,6 @@ void sh73a0_pinmux_init(void);
 #elif defined(CONFIG_R8A7740)
 #include "r8a7740-gpio.h"
 void r8a7740_pinmux_init(void);
-#elif defined(CONFIG_R8A7794)
-#include "r8a7794-gpio.h"
-void r8a7794_pinmux_init(void);
 #endif
 
 #endif /* __ASM_ARCH_GPIO_H */
arch/arm/mach-rmobile/include/mach/r8a7794-gpio.h deleted +0 -276

276 lines not on this page · raw message

arch/arm/mach-rmobile/pfc-r8a7794.c deleted +0 -1650

1,650 lines not on this page · raw message

Signature · 1 line
2.16.2
#5 lore raw

PATCH 6/6 ARM: rmobile: Unify Gen2 Makefile entry

In reply to Marek Vasut

Drop per-SoC Makefile entries and replace them with one unified entry now that the PFC tables are gone. Shuffle the Makefile around a bit to make it more organized.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/mach-rmobile/Makefile | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
arch/arm/mach-rmobile/Makefile +3 -7
index 5b5462219b..1f26adaca9 100644
@@ -8,12 +8,8 @@ obj-y += emac.o
 
 obj-$(CONFIG_DISPLAY_BOARDINFO) += board.o
 obj-$(CONFIG_GLOBAL_TIMER) += timer.o
+obj-$(CONFIG_TMU_TIMER) += ../../sh/lib/time.o
+obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o
 obj-$(CONFIG_R8A7740) += lowlevel_init.o cpu_info-r8a7740.o pfc-r8a7740.o
-obj-$(CONFIG_R8A7790) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7791) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7792) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7793) += lowlevel_init_ca15.o cpu_info-rcar.o
-obj-$(CONFIG_R8A7794) += lowlevel_init_ca15.o cpu_info-rcar.o
+obj-$(CONFIG_RCAR_GEN2) += lowlevel_init_ca15.o cpu_info-rcar.o
 obj-$(CONFIG_RCAR_GEN3) += lowlevel_init_gen3.o cpu_info-rcar.o memmap-gen3.o
-obj-$(CONFIG_SH73A0) += lowlevel_init.o cpu_info-sh73a0.o pfc-sh73a0.o
-obj-$(CONFIG_TMU_TIMER) += ../../sh/lib/time.o
Signature · 1 line
2.16.2