summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/cpu_sh7750.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2012-08-21 04:14:46 (GMT)
committerNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2012-08-21 06:00:33 (GMT)
commit73f35e0b156c771333d449ca86b99600d094d37f (patch)
treec6a12e577144fc1d888684730774910147346e7e /arch/sh/include/asm/cpu_sh7750.h
parente66443fdb5355e68cfdbbdd37248c4b7eb4968f5 (diff)
downloadu-boot-73f35e0b156c771333d449ca86b99600d094d37f.tar.xz
sh: tmu: Changed TMU driver using array of structures
This changed into access using array of structure from access to the register using the definition of the register by macro. And removed white space. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/sh/include/asm/cpu_sh7750.h')
-rw-r--r--arch/sh/include/asm/cpu_sh7750.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/arch/sh/include/asm/cpu_sh7750.h b/arch/sh/include/asm/cpu_sh7750.h
index b3e8424..88c4c8d 100644
--- a/arch/sh/include/asm/cpu_sh7750.h
+++ b/arch/sh/include/asm/cpu_sh7750.h
@@ -143,26 +143,7 @@
#define CLKSTPCLR 0xFE0A0008
/* TMU */
-#define TSTR2 0xFE100004
-#define TCOR3 0xFE100008
-#define TCNT3 0xFE10000C
-#define TCR3 0xFE100010
-#define TCOR4 0xFE100014
-#define TCNT4 0xFE100018
-#define TCR4 0xFE10001C
-#define TOCR 0xFFD80000
-#define TSTR0 0xFFD80004
-#define TCOR0 0xFFD80008
-#define TCNT0 0xFFD8000C
-#define TCR0 0xFFD80010
-#define TCOR1 0xFFD80014
-#define TCNT1 0xFFD80018
-#define TCR1 0xFFD8001C
-#define TCOR2 0xFFD80020
-#define TCNT2 0xFFD80024
-#define TCR2 0xFFD80028
-#define TCPR2 0xFFD8002C
-#define TSTR TSTR0
+#define TMU_BASE 0xFFD80000
/* SCI */
#define SCSMR1 0xFFE00000