diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-01-19 10:27:29 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-08 12:50:14 -0500 |
commit | 8ad8ff6548f1c0bcbeaa02f274b3927c5015a921 (patch) | |
tree | e089b88bc8da54f107acdd6ee395359b73dbd37c /arch/arm/plat-omap | |
parent | d7e8f1f9d655af2c7ea90738bf567aa6990159b3 (diff) |
[ARM] omap: convert OMAP2 to use clkdev
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/mach/clock.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig index fc7b6831f3eb..90372131055b 100644 --- a/arch/arm/plat-omap/Kconfig +++ b/arch/arm/plat-omap/Kconfig | |||
@@ -16,6 +16,7 @@ config ARCH_OMAP1 | |||
16 | config ARCH_OMAP2 | 16 | config ARCH_OMAP2 |
17 | bool "TI OMAP2" | 17 | bool "TI OMAP2" |
18 | select CPU_V6 | 18 | select CPU_V6 |
19 | select COMMON_CLKDEV | ||
19 | 20 | ||
20 | config ARCH_OMAP3 | 21 | config ARCH_OMAP3 |
21 | bool "TI OMAP3" | 22 | bool "TI OMAP3" |
diff --git a/arch/arm/plat-omap/include/mach/clock.h b/arch/arm/plat-omap/include/mach/clock.h index 2af4bc24cfe9..214dc46d6ad1 100644 --- a/arch/arm/plat-omap/include/mach/clock.h +++ b/arch/arm/plat-omap/include/mach/clock.h | |||
@@ -136,9 +136,7 @@ extern const struct clkops clkops_null; | |||
136 | #define CONFIG_PARTICIPANT (1 << 10) /* Fundamental clock */ | 136 | #define CONFIG_PARTICIPANT (1 << 10) /* Fundamental clock */ |
137 | #define ENABLE_ON_INIT (1 << 11) /* Enable upon framework init */ | 137 | #define ENABLE_ON_INIT (1 << 11) /* Enable upon framework init */ |
138 | #define INVERT_ENABLE (1 << 12) /* 0 enables, 1 disables */ | 138 | #define INVERT_ENABLE (1 << 12) /* 0 enables, 1 disables */ |
139 | /* bits 13-24 are currently free */ | 139 | /* bits 13-26 are currently free */ |
140 | #define CLOCK_IN_OMAP242X (1 << 25) | ||
141 | #define CLOCK_IN_OMAP243X (1 << 26) | ||
142 | #define CLOCK_IN_OMAP343X (1 << 27) /* clocks common to all 343X */ | 140 | #define CLOCK_IN_OMAP343X (1 << 27) /* clocks common to all 343X */ |
143 | #define CLOCK_IN_OMAP3430ES1 (1 << 29) /* 3430ES1 clocks only */ | 141 | #define CLOCK_IN_OMAP3430ES1 (1 << 29) /* 3430ES1 clocks only */ |
144 | #define CLOCK_IN_OMAP3430ES2 (1 << 30) /* 3430ES2 clocks only */ | 142 | #define CLOCK_IN_OMAP3430ES2 (1 << 30) /* 3430ES2 clocks only */ |