diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-02-16 15:13:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-03-13 10:33:51 +0100 |
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 239308fe665..d9e3bf9644c 100644 --- a/arch/arm/mach-mx2/cpu_imx27.c +++ b/arch/arm/mach-mx2/cpu_imx27.c @@ -26,11 +26,11 @@ #include <mach/hardware.h> -#include "crm_regs.h" - static int cpu_silicon_rev = -1; static int cpu_partnumber; +#define SYS_CHIP_ID 0x00 /* The offset of CHIP ID register */ + static void query_silicon_parameter(void) { u32 val; |