summaryrefslogtreecommitdiff
path: root/include/sh_tmu.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-06 15:55:21 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-11-13 08:47:58 +0900
commit7d2366627e1f4d1dbf80e65d5bf72b832ca128c9 (patch)
treee405318a2fea1588cabc452046665a0e069f7452 /include/sh_tmu.h
parent0e29429f76e5578771c80c6d9e160440944a77f2 (diff)
downloadu-boot-7d2366627e1f4d1dbf80e65d5bf72b832ca128c9.tar.gz
u-boot-7d2366627e1f4d1dbf80e65d5bf72b832ca128c9.tar.bz2
u-boot-7d2366627e1f4d1dbf80e65d5bf72b832ca128c9.zip
sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4 to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A, CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
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 61afc7136d..97d578dd55 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)
{