* [PATCH 00/04] ARM: shmobile: Random header and makefile cleanups
@ 2013-07-09 10:39 Magnus Damm
2013-07-09 10:39 ` [PATCH 01/04] ARM: shmobile: No need to use INTC header on r8a7779 Magnus Damm
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Magnus Damm @ 2013-07-09 10:39 UTC (permalink / raw)
To: linux-arm-kernel
ARM: shmobile: Random header and makefile cleanups
[PATCH 01/04] ARM: shmobile: No need to use INTC header on r8a7779
[PATCH 02/04] ARM: shmobile: Use pm-rmobile on sh7372 and r8a7740 only
[PATCH 03/04] ARM: shmobile: No need to use INTC demux on r8a7740
[PATCH 04/04] ARM: shmobile: Remove unused mach/dma.h
Remove pointless header files and unnecessary use of header files,
and only link in bits that are actually needed.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Built on top of renesas-next-20130704v2
arch/arm/mach-shmobile/Makefile | 8 +++-----
arch/arm/mach-shmobile/include/mach/dma.h | 1 -
arch/arm/mach-shmobile/intc-r8a7779.c | 1 -
arch/arm/mach-shmobile/setup-r8a7779.c | 1 -
4 files changed, 3 insertions(+), 8 deletions(-)
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 01/04] ARM: shmobile: No need to use INTC header on r8a7779
2013-07-09 10:39 [PATCH 00/04] ARM: shmobile: Random header and makefile cleanups Magnus Damm
@ 2013-07-09 10:39 ` Magnus Damm
2013-07-10 1:12 ` Simon Horman
2013-07-09 10:40 ` [PATCH 02/04] ARM: shmobile: Use pm-rmobile on sh7372 and r8a7740 only Magnus Damm
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Magnus Damm @ 2013-07-09 10:39 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Now when the intc-irqpin driver is used for external
IRQ pins on r8a7779 it possible to get rid of unused
INTC headers mach/intc.h and linux/sh_intc.h.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/intc-r8a7779.c | 1 -
arch/arm/mach-shmobile/setup-r8a7779.c | 1 -
2 files changed, 2 deletions(-)
--- 0001/arch/arm/mach-shmobile/intc-r8a7779.c
+++ work/arch/arm/mach-shmobile/intc-r8a7779.c 2013-07-09 18:42:08.000000000 +0900
@@ -27,7 +27,6 @@
#include <linux/platform_data/irq-renesas-intc-irqpin.h>
#include <linux/irqchip.h>
#include <mach/common.h>
-#include <mach/intc.h>
#include <mach/irqs.h>
#include <mach/r8a7779.h>
#include <asm/mach-types.h>
--- 0001/arch/arm/mach-shmobile/setup-r8a7779.c
+++ work/arch/arm/mach-shmobile/setup-r8a7779.c 2013-07-09 18:42:25.000000000 +0900
@@ -29,7 +29,6 @@
#include <linux/input.h>
#include <linux/io.h>
#include <linux/serial_sci.h>
-#include <linux/sh_intc.h>
#include <linux/sh_timer.h>
#include <linux/dma-mapping.h>
#include <linux/usb/otg.h>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 02/04] ARM: shmobile: Use pm-rmobile on sh7372 and r8a7740 only
2013-07-09 10:39 [PATCH 00/04] ARM: shmobile: Random header and makefile cleanups Magnus Damm
2013-07-09 10:39 ` [PATCH 01/04] ARM: shmobile: No need to use INTC header on r8a7779 Magnus Damm
@ 2013-07-09 10:40 ` Magnus Damm
2013-07-10 1:13 ` Simon Horman
2013-07-09 10:40 ` [PATCH 03/04] ARM: shmobile: No need to use INTC demux on r8a7740 Magnus Damm
2013-07-09 10:40 ` [PATCH 04/04] ARM: shmobile: Remove unused mach/dma.h Magnus Damm
3 siblings, 1 reply; 9+ messages in thread
From: Magnus Damm @ 2013-07-09 10:40 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
The functions in pm-rmobile.c are only used on sh7372 and
r8a7740, so adjust the Makefile to only link in that file
in case those SoCs are selected.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
--- 0001/arch/arm/mach-shmobile/Makefile
+++ work/arch/arm/mach-shmobile/Makefile 2013-07-09 18:50:08.000000000 +0900
@@ -28,11 +28,10 @@ obj-$(CONFIG_ARCH_R8A7740) += entry-intc
# PM objects
obj-$(CONFIG_SUSPEND) += suspend.o
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
-obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o
-obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
-obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o
-obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
+obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o pm-rmobile.o
obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o
+obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o pm-rmobile.o
+obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
# Board objects
obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 03/04] ARM: shmobile: No need to use INTC demux on r8a7740
2013-07-09 10:39 [PATCH 00/04] ARM: shmobile: Random header and makefile cleanups Magnus Damm
2013-07-09 10:39 ` [PATCH 01/04] ARM: shmobile: No need to use INTC header on r8a7779 Magnus Damm
2013-07-09 10:40 ` [PATCH 02/04] ARM: shmobile: Use pm-rmobile on sh7372 and r8a7740 only Magnus Damm
@ 2013-07-09 10:40 ` Magnus Damm
2013-07-10 1:13 ` Simon Horman
2013-07-09 10:40 ` [PATCH 04/04] ARM: shmobile: Remove unused mach/dma.h Magnus Damm
3 siblings, 1 reply; 9+ messages in thread
From: Magnus Damm @ 2013-07-09 10:40 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Now when the r8a7740 code has been converted to make use of
GIC instead of INTC for root interrupt controller it is
possible to exclude the low level INTC demux function
shmobile_handle_irq_intc from linking.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile | 1 -
1 file changed, 1 deletion(-)
--- 0003/arch/arm/mach-shmobile/Makefile
+++ work/arch/arm/mach-shmobile/Makefile 2013-07-09 18:54:03.000000000 +0900
@@ -23,7 +23,6 @@ smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o
# IRQ objects
obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
-obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
# PM objects
obj-$(CONFIG_SUSPEND) += suspend.o
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 03/04] ARM: shmobile: No need to use INTC demux on r8a7740
2013-07-09 10:40 ` [PATCH 03/04] ARM: shmobile: No need to use INTC demux on r8a7740 Magnus Damm
@ 2013-07-10 1:13 ` Simon Horman
0 siblings, 0 replies; 9+ messages in thread
From: Simon Horman @ 2013-07-10 1:13 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 09, 2013 at 07:40:08PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Now when the r8a7740 code has been converted to make use of
> GIC instead of INTC for root interrupt controller it is
> possible to exclude the low level INTC demux function
> shmobile_handle_irq_intc from linking.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
> ---
>
> arch/arm/mach-shmobile/Makefile | 1 -
> 1 file changed, 1 deletion(-)
Thanks, I have queued this up for v3.12 in the cleanup branch.
It should appear in renesas-next-20130710
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 04/04] ARM: shmobile: Remove unused mach/dma.h
2013-07-09 10:39 [PATCH 00/04] ARM: shmobile: Random header and makefile cleanups Magnus Damm
` (2 preceding siblings ...)
2013-07-09 10:40 ` [PATCH 03/04] ARM: shmobile: No need to use INTC demux on r8a7740 Magnus Damm
@ 2013-07-09 10:40 ` Magnus Damm
2013-07-10 1:14 ` Simon Horman
3 siblings, 1 reply; 9+ messages in thread
From: Magnus Damm @ 2013-07-09 10:40 UTC (permalink / raw)
To: linux-arm-kernel
From: Magnus Damm <damm@opensource.se>
Remove mach-shmobile mach/dma.h since it only
seems to be used on non-mach-shmobile platforms.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/include/mach/dma.h | 1 -
1 file changed, 1 deletion(-)
--- 0001/arch/arm/mach-shmobile/include/mach/dma.h
+++ /dev/null 2013-06-03 21:41:10.638032047 +0900
@@ -1 +0,0 @@
-/* empty */
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-07-10 1:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-09 10:39 [PATCH 00/04] ARM: shmobile: Random header and makefile cleanups Magnus Damm
2013-07-09 10:39 ` [PATCH 01/04] ARM: shmobile: No need to use INTC header on r8a7779 Magnus Damm
2013-07-10 1:12 ` Simon Horman
2013-07-09 10:40 ` [PATCH 02/04] ARM: shmobile: Use pm-rmobile on sh7372 and r8a7740 only Magnus Damm
2013-07-10 1:13 ` Simon Horman
2013-07-09 10:40 ` [PATCH 03/04] ARM: shmobile: No need to use INTC demux on r8a7740 Magnus Damm
2013-07-10 1:13 ` Simon Horman
2013-07-09 10:40 ` [PATCH 04/04] ARM: shmobile: Remove unused mach/dma.h Magnus Damm
2013-07-10 1:14 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).