summaryrefslogtreecommitdiff
path: root/include/sh_tmu.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-11-17 08:43:40 -0500
committerTom Rini <trini@ti.com>2014-11-17 08:43:40 -0500
commitbdf790fabc8185112b3f699c8a25aab09c50239e (patch)
tree1ad02576f6849a800905eb47ccf4a878c5bfa6d1 /include/sh_tmu.h
parent256d83cd6d8caf345ffba414a0f77f30d68caf8a (diff)
parent570dd7f441c2d2d2e83a9345608801c92e7d2c6f (diff)
downloadu-boot-imx-bdf790fabc8185112b3f699c8a25aab09c50239e.zip
u-boot-imx-bdf790fabc8185112b3f699c8a25aab09c50239e.tar.gz
u-boot-imx-bdf790fabc8185112b3f699c8a25aab09c50239e.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-sh
Diffstat (limited to 'include/sh_tmu.h')
-rw-r--r--include/sh_tmu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sh_tmu.h b/include/sh_tmu.h
index 61afc71..97d578d 100644
--- a/include/sh_tmu.h
+++ b/include/sh_tmu.h
@@ -25,7 +25,7 @@
#include <asm/types.h>
-#if defined(CONFIG_SH3)
+#if defined(CONFIG_CPU_SH3)
struct tmu_regs {
u8 tocr;
u8 reserved0;
@@ -45,9 +45,9 @@ struct tmu_regs {
u16 reserved4;
u32 tcpr2;
};
-#endif /* CONFIG_SH3 */
+#endif /* CONFIG_CPU_SH3 */
-#if defined(CONFIG_SH4) || defined(CONFIG_RMOBILE)
+#if defined(CONFIG_CPU_SH4) || defined(CONFIG_RMOBILE)
struct tmu_regs {
u32 reserved;
u8 tstr;
@@ -65,7 +65,7 @@ struct tmu_regs {
u16 tcr2;
u16 reserved5;
};
-#endif /* CONFIG_SH4 */
+#endif /* CONFIG_CPU_SH4 */
static inline unsigned long get_tmu0_clk_rate(void)
{