summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2/cpu_imx27.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-02-16 15:13:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-13 10:33:51 +0100
commitedfcea80eb12b43680c4be0f2e31c8f5b1288edd (patch)
tree24e9c3863c1cbe9b8fb4fb2c5b6a067a7d7c0327 /arch/arm/mach-mx2/cpu_imx27.c
parentd1755e3592305f8866b4d60d63a481959d5e58bf (diff)
downloadop-kernel-dev-edfcea80eb12b43680c4be0f2e31c8f5b1288edd.zip
op-kernel-dev-edfcea80eb12b43680c4be0f2e31c8f5b1288edd.tar.gz
[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.c4
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 239308f..d9e3bf9 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;
OpenPOWER on IntegriCloud