diff options
author | Mark A. Greer <mgreer@mvista.com> | 2009-04-15 15:42:06 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-28 18:17:48 -0400 |
commit | 5570078c0ec5ecc5df0bbd7d06f43549b7127ae7 (patch) | |
tree | 49791ab764e72e7a8f59f9a388c10f86100663e7 /arch/arm/mach-davinci/dm355.c | |
parent | 3abd5acfff0111809463bcfd7236a1bdf09e4e2d (diff) |
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/dm355.c')
-rw-r--r-- | arch/arm/mach-davinci/dm355.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index 4c3257ef5ddc..78fc598b0bca 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -433,6 +433,14 @@ void __init dm355_init_spi0(unsigned chipselect_mask, | |||
433 | 433 | ||
434 | /*----------------------------------------------------------------------*/ | 434 | /*----------------------------------------------------------------------*/ |
435 | 435 | ||
436 | #define PINMUX0 0x00 | ||
437 | #define PINMUX1 0x04 | ||
438 | #define PINMUX2 0x08 | ||
439 | #define PINMUX3 0x0c | ||
440 | #define PINMUX4 0x10 | ||
441 | #define INTMUX 0x18 | ||
442 | #define EVTMUX 0x1c | ||
443 | |||
436 | /* | 444 | /* |
437 | * Device specific mux setup | 445 | * Device specific mux setup |
438 | * | 446 | * |