diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-16 09:13:43 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 05:33:51 -0400 |
commit | edfcea80eb12b43680c4be0f2e31c8f5b1288edd (patch) | |
tree | 24e9c3863c1cbe9b8fb4fb2c5b6a067a7d7c0327 /arch/arm/mach-mx2/cpu_imx27.c | |
parent | d1755e3592305f8866b4d60d63a481959d5e58bf (diff) |
[ARM] MX27 Clock rework
This changes MX27 to use common clkdev. It also cleans up MX27 clock
support to be more readable.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx2/cpu_imx27.c')
-rw-r--r-- | arch/arm/mach-mx2/cpu_imx27.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-mx2/cpu_imx27.c b/arch/arm/mach-mx2/cpu_imx27.c index 239308fe6652..d9e3bf9644c9 100644 --- a/arch/arm/mach-mx2/cpu_imx27.c +++ b/arch/arm/mach-mx2/cpu_imx27.c | |||
@@ -26,11 +26,11 @@ | |||
26 | 26 | ||
27 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
28 | 28 | ||
29 | #include "crm_regs.h" | ||
30 | |||
31 | static int cpu_silicon_rev = -1; | 29 | static int cpu_silicon_rev = -1; |
32 | static int cpu_partnumber; | 30 | static int cpu_partnumber; |
33 | 31 | ||
32 | #define SYS_CHIP_ID 0x00 /* The offset of CHIP ID register */ | ||
33 | |||
34 | static void query_silicon_parameter(void) | 34 | static void query_silicon_parameter(void) |
35 | { | 35 | { |
36 | u32 val; | 36 | u32 val; |