summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm646x.c
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2009-04-15 12:42:06 -0700
committerKevin Hilman <khilman@deeprootsystems.com>2009-05-28 15:17:48 -0700
commit5570078c0ec5ecc5df0bbd7d06f43549b7127ae7 (patch)
tree49791ab764e72e7a8f59f9a388c10f86100663e7 /arch/arm/mach-davinci/dm646x.c
parent3abd5acfff0111809463bcfd7236a1bdf09e4e2d (diff)
downloadlinux-5570078c0ec5ecc5df0bbd7d06f43549b7127ae7.tar.gz
linux-5570078c0ec5ecc5df0bbd7d06f43549b7127ae7.tar.bz2
linux-5570078c0ec5ecc5df0bbd7d06f43549b7127ae7.zip
davinci: Move PINMUX defines to SoC files
Different SoC have different numbers of pinmux registers and other resources that overlap with each other. To clean up the code and eliminate defines that overlap with each other, move the PINMUX defines to the SoC specific files. Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm646x.c')
-rw-r--r--arch/arm/mach-davinci/dm646x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index 5185ad55fc50..12189c737a3b 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -333,6 +333,9 @@ static struct platform_device dm646x_emac_device = {
.resource = dm646x_emac_resources,
};
+#define PINMUX0 0x00
+#define PINMUX1 0x04
+
/*
* Device specific mux setup
*