]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00179782: i.mx6: consolidate mx6q/dl_revision() support
authorJason Liu <r64343@freescale.com>
Tue, 17 Apr 2012 10:53:53 +0000 (18:53 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:27 +0000 (08:34 +0200)
commit7cf5ab9a5e86c60210587f02998005ba19990716
tree3d3f39eed66c022bbb5c31be9781040a95f2ffc3
parent3e8f71ddbaac691cefaf895436ce9a341af6399e
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>
arch/arm/mach-mx6/clock.c
arch/arm/mach-mx6/cpu.c
arch/arm/mach-mx6/mm.c
arch/arm/mach-mx6/system.c
arch/arm/plat-mxc/cpu.c
arch/arm/plat-mxc/include/mach/common.h
arch/arm/plat-mxc/include/mach/mx6.h
arch/arm/plat-mxc/include/mach/mxc.h
arch/arm/plat-mxc/time.c