X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fsh_tmu.h;h=97d578dd55ad5ef1f0c8a873eb33386f261cbeb7;hb=7adb871d4dc070f9a117b355a5535a3652ced758;hp=f5b42faea418aff5857849810172f824f3fd677b;hpb=857febf38cd33b49e29f2d17e885f2cb17a0aec0;p=karo-tx-uboot.git diff --git a/include/sh_tmu.h b/include/sh_tmu.h index f5b42faea4..97d578dd55 100644 --- a/include/sh_tmu.h +++ b/include/sh_tmu.h @@ -25,7 +25,7 @@ #include -#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_SH4A) || 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) {