summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/clock.c
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2012-04-17 18:53:53 +0800
committerJason Liu <r64343@freescale.com>2012-04-18 14:05:11 +0800
commit008fa0654c2eaab8cae5ae8d730a93ce3106233b (patch)
tree317727b5c2672c7a8d7d19e6bea8ff2bfe3f0f71 /arch/arm/mach-mx6/clock.c
parent5a1b2ae014740fb522939e641844b92e0c4ba3f1 (diff)
ENGR00179782: i.mx6: consolidate mx6q/dl_revision() support
The idea is to get the soc silicon revision from DIGPROG register Of ANATOP(USB_ANALOG_DIGPROG), which will make kernel code independent with bootloader which need pass the system_rev by ATAG. This patch also will print the chip name and revision when kernel boot up since this information is important for customer to know. on i.mx6q TO1.1, it will print as the following: CPU identified as i.MX6Q, silicon rev 1.1 Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/clock.c')
-rw-r--r--arch/arm/mach-mx6/clock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c
index b766627cd8f4..3b815fe0e5bd 100644
--- a/arch/arm/mach-mx6/clock.c
+++ b/arch/arm/mach-mx6/clock.c
@@ -47,7 +47,6 @@ extern struct regulator *cpu_regulator;
extern struct cpu_op *(*get_cpu_op)(int *op);
extern int lp_high_freq;
extern int lp_med_freq;
-extern int mx6q_revision(void);
void __iomem *apll_base;
static struct clk pll1_sys_main_clk;