X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsh_tmu.h;h=61afc7136d7c1ea8c84c7ef17d1b917ac3051a59;hb=126cc864206e0a06635a4bf49b75de8d5a4a80d7;hp=a55d14181d05b303d55a1fb6eed3a6a342488b47;hpb=5fb29f3c48d26981b117b08286bc16ec99d4ca0b;p=u-boot diff --git a/include/sh_tmu.h b/include/sh_tmu.h index a55d14181d..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) +#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 */