Commit cdf7da89 authored by Steve Glendinning's avatar Steve Glendinning Committed by Paul Mundt

sh: Fix DMAC base address for SH7709S

On SH7709S, DMAC can be found at 0xa4000020 (as with most of
the other sh3 cpu subtypes).

Split out definition of DMAC base address from definitions of
DMTE irqs.
Signed-off-by: default avatarSteve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f11c9c2f
...@@ -3,19 +3,19 @@ ...@@ -3,19 +3,19 @@
#if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ #if defined(CONFIG_CPU_SUBTYPE_SH7720) || \
defined(CONFIG_CPU_SUBTYPE_SH7721) || \ defined(CONFIG_CPU_SUBTYPE_SH7721)
defined(CONFIG_CPU_SUBTYPE_SH7709)
#define SH_DMAC_BASE 0xa4010020 #define SH_DMAC_BASE 0xa4010020
#else
#define SH_DMAC_BASE 0xa4000020
#endif
#if defined(CONFIG_CPU_SUBTYPE_SH7720) || defined(CONFIG_CPU_SUBTYPE_SH7709)
#define DMTE0_IRQ 48 #define DMTE0_IRQ 48
#define DMTE1_IRQ 49 #define DMTE1_IRQ 49
#define DMTE2_IRQ 50 #define DMTE2_IRQ 50
#define DMTE3_IRQ 51 #define DMTE3_IRQ 51
#define DMTE4_IRQ 76 #define DMTE4_IRQ 76
#define DMTE5_IRQ 77 #define DMTE5_IRQ 77
#else
#define SH_DMAC_BASE 0xa4000020
#endif #endif
/* Definitions for the SuperH DMAC */ /* Definitions for the SuperH DMAC */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment