summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/system.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/system.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/system.c')
-rw-r--r--arch/arm/mach-mx6/system.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/system.c b/arch/arm/mach-mx6/system.c
index 8210f9a93830..fb0b0ad79895 100644
--- a/arch/arm/mach-mx6/system.c
+++ b/arch/arm/mach-mx6/system.c
@@ -45,7 +45,6 @@
#define MODULE_SFTRST (1 << 31)
extern unsigned int gpc_wake_irq[4];
-extern int mx6q_revision(void);
static void __iomem *gpc_base = IO_ADDRESS(GPC_BASE_ADDR);