* [PATCH] ARM: mach-shmobile: Fix up pinmux entries in Makefile
@ 2010-12-14 7:15 Magnus Damm
2010-12-14 9:50 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Magnus Damm @ 2010-12-14 7:15 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
Compiling in multiple CPUs into the same kernel binary
requires a Makefile update. With this patch in place
it is possible to enable the pinmux code for both the
SH7372 and the SH7377.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Makefile | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
--- 0001/arch/arm/mach-shmobile/Makefile
+++ work/arch/arm/mach-shmobile/Makefile 2010-12-14 13:47:18.000000000 +0900
@@ -12,11 +12,11 @@ obj-$(CONFIG_ARCH_SH7372) += setup-sh737
obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o
# Pinmux setup
-pfc-$(CONFIG_ARCH_SH7367) := pfc-sh7367.o
-pfc-$(CONFIG_ARCH_SH7377) := pfc-sh7377.o
-pfc-$(CONFIG_ARCH_SH7372) := pfc-sh7372.o
-pfc-$(CONFIG_ARCH_SH73A0) := pfc-sh73a0.o
-obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)
+pfc-y :+pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o
+pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o
+pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
+pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
# Board objects
obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o
@@ -24,3 +24,6 @@ obj-$(CONFIG_MACH_G4EVM) += board-g4evm.
obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
+
+# Framework support
+obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: mach-shmobile: Fix up pinmux entries in Makefile
2010-12-14 7:15 [PATCH] ARM: mach-shmobile: Fix up pinmux entries in Makefile Magnus Damm
@ 2010-12-14 9:50 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-12-14 9:50 UTC (permalink / raw)
To: linux-sh
On Tue, Dec 14, 2010 at 04:15:35PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Compiling in multiple CPUs into the same kernel binary
> requires a Makefile update. With this patch in place
> it is possible to enable the pinmux code for both the
> SH7372 and the SH7377.
>
> Signed-off-by: Magnus Damm <damm@opensource.se>
Applied to rmobile-latest, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-14 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 7:15 [PATCH] ARM: mach-shmobile: Fix up pinmux entries in Makefile Magnus Damm
2010-12-14 9:50 ` Paul Mundt
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).