]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00269945: ARM: imx6qdl: add a common function to initialize revision from anatop
authorShawn Guo <shawn.guo@freescale.com>
Tue, 13 Aug 2013 06:59:43 +0000 (14:59 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:32 +0000 (09:54 +0800)
commitb0a2f9670ce990c6a1f776cb343a71c1aeb595f1
treeb85da04b7bd949ff88ec9df2dece6f34ee6a542f
parent20462d1b50166668ab93005090f6f1c517622c19
ENGR00269945: ARM: imx6qdl: add a common function to initialize revision from anatop

The patch creates a common function imx_init_revision_from_anatop() by
merging imx6q_init_revision() and imx_anatop_get_digprog(), so that any
SoC that encodes revision info in anatop can use it to initialize
revision.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/anatop.c
arch/arm/mach-imx/common.h
arch/arm/mach-imx/mach-imx6q.c