diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-05-01 18:38:27 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-05-06 18:02:09 -0400 |
commit | 5b3a05ca911688c53680f2b020a1512b9da29c89 (patch) | |
tree | 4724dd98e7ef949d1976865ad1198c8693d341da /arch/arm/mach-davinci/dm355.c | |
parent | b27b6d03f245e5eaf6473da58a2612077fb7cfe7 (diff) |
Davinci: eliminate pinmux offset verbosity
Pinmux registers are sequential, and do not need to be enumerated out as they
currently are. This reduces code volume and keeps things simple.
If some future SoC comes up with a discontiguous register map, PINMUX() can
then be expanded with local token pasting.
Signed-off-by: Cyril Chemparathy <cyril@ti.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 | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c index f9a54ff2d249..f91e9a1ab921 100644 --- a/arch/arm/mach-davinci/dm355.c +++ b/arch/arm/mach-davinci/dm355.c | |||
@@ -450,11 +450,6 @@ void __init dm355_init_spi0(unsigned chipselect_mask, | |||
450 | 450 | ||
451 | /*----------------------------------------------------------------------*/ | 451 | /*----------------------------------------------------------------------*/ |
452 | 452 | ||
453 | #define PINMUX0 0x00 | ||
454 | #define PINMUX1 0x04 | ||
455 | #define PINMUX2 0x08 | ||
456 | #define PINMUX3 0x0c | ||
457 | #define PINMUX4 0x10 | ||
458 | #define INTMUX 0x18 | 453 | #define INTMUX 0x18 |
459 | #define EVTMUX 0x1c | 454 | #define EVTMUX 0x1c |
460 | 455 | ||