X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsh_tmu.h;h=61afc7136d7c1ea8c84c7ef17d1b917ac3051a59;hb=114cc4290b2f24bb314edf2edd5d8738a0778c4b;hp=96c589da5052aa70719ab042eb80cdabfe741987;hpb=2c541df90110e87bb9b241a04089336b06d45716;p=u-boot diff --git a/include/sh_tmu.h b/include/sh_tmu.h index 96c589da50..61afc7136d 100644 --- a/include/sh_tmu.h +++ b/include/sh_tmu.h @@ -47,7 +47,7 @@ struct tmu_regs { }; #endif /* CONFIG_SH3 */ -#if defined(CONFIG_SH4) || defined(CONFIG_SH4A) || defined(CONFIG_RMOBILE) +#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 */