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-07-20 13:36:21 +0800
commit207f80453c77bc32e04b5fef863f6fe50a7fd1a8 (patch)
tree3d3f39eed66c022bbb5c31be9781040a95f2ffc3 /arch/arm/mach-mx6/clock.c
parent9891babded38a7a312578b46ed76cf190acea564 (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;