sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig
This commit moves CONFIG_SH2, CONFIG_SH2A, CONFIG_SH3, CONFIG_SH4 to Kconfig renaming into CONFIG_CPU_SH2, CONFIG_CPU_SH2A, CONFIG_CPU_SH3, CONFIG_CPU_SH4, respectively because arch/sh/Kconfig of Linux uses CONFIG_CPU_SH* convention. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
committed by
Nobuhiro Iwamatsu
parent
0e29429f76
commit
7d2366627e
@@ -11,7 +11,6 @@
|
||||
#define __RSK7203_H
|
||||
|
||||
#undef DEBUG
|
||||
#define CONFIG_SH2A 1
|
||||
#define CONFIG_CPU_SH7203 1
|
||||
#define CONFIG_RSK7203 1
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#define __RSK7264_H
|
||||
|
||||
#undef DEBUG
|
||||
#define CONFIG_SH2A 1
|
||||
#define CONFIG_CPU_SH7264 1
|
||||
#define CONFIG_RSK7264 1
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#define __RSK7269_H
|
||||
|
||||
#undef DEBUG
|
||||
#define CONFIG_SH2A 1
|
||||
#define CONFIG_CPU_SH7269 1
|
||||
#define CONFIG_RSK7269 1
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#include <asm/types.h>
|
||||
|
||||
#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_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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user