projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
am33xx: Finish migration of CONFIG_AM33XX/AM43XX
[oweals/u-boot.git]
/
include
/
sh_tmu.h
diff --git
a/include/sh_tmu.h
b/include/sh_tmu.h
index a55d14181d05b303d55a1fb6eed3a6a342488b47..aa60c98750a0311eb4675cd71a96cde7b1f170c4 100644
(file)
--- a/
include/sh_tmu.h
+++ b/
include/sh_tmu.h
@@
-25,7
+25,7
@@
#include <asm/types.h>
#include <asm/types.h>
-#if defined(CONFIG_SH3)
+#if defined(CONFIG_
CPU_
SH3)
struct tmu_regs {
u8 tocr;
u8 reserved0;
struct tmu_regs {
u8 tocr;
u8 reserved0;
@@
-45,9
+45,9
@@
struct tmu_regs {
u16 reserved4;
u32 tcpr2;
};
u16 reserved4;
u32 tcpr2;
};
-#endif /* CONFIG_SH3 */
+#endif /* CONFIG_
CPU_
SH3 */
-#if defined(CONFIG_
SH4) || defined(CONFIG_SH4A
)
+#if defined(CONFIG_
CPU_SH4) || defined(CONFIG_ARCH_RMOBILE
)
struct tmu_regs {
u32 reserved;
u8 tstr;
struct tmu_regs {
u32 reserved;
u8 tstr;
@@
-65,11
+65,11
@@
struct tmu_regs {
u16 tcr2;
u16 reserved5;
};
u16 tcr2;
u16 reserved5;
};
-#endif /* CONFIG_SH4 */
+#endif /* CONFIG_
CPU_
SH4 */
static inline unsigned long get_tmu0_clk_rate(void)
{
static inline unsigned long get_tmu0_clk_rate(void)
{
- return CONFIG_S
YS
_CLK_FREQ;
+ return CONFIG_S
H_TMU
_CLK_FREQ;
}
#endif /* __SH_TMU_H */
}
#endif /* __SH_TMU_H */