]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/sh_tmu.h
powerpc: mpc5xxx: remove board support for MVBC_P and MVSMR
[karo-tx-uboot.git] / include / sh_tmu.h
index a55d14181d05b303d55a1fb6eed3a6a342488b47..61afc7136d7c1ea8c84c7ef17d1b917ac3051a59 100644 (file)
@@ -47,7 +47,7 @@ struct tmu_regs {
 };
 #endif /* CONFIG_SH3 */
 
-#if defined(CONFIG_SH4) || defined(CONFIG_SH4A)
+#if defined(CONFIG_SH4) || defined(CONFIG_RMOBILE)
 struct tmu_regs {
        u32 reserved;
        u8  tstr;
@@ -69,7 +69,7 @@ struct tmu_regs {
 
 static inline unsigned long get_tmu0_clk_rate(void)
 {
-       return CONFIG_SYS_CLK_FREQ;
+       return CONFIG_SH_TMU_CLK_FREQ;
 }
 
 #endif /* __SH_TMU_H */