ARM: imx: Introduce generic function for displaying silicon revision
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 26 Aug 2011 05:35:18 +0000 (13:35 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 26 Aug 2011 06:50:58 +0000 (08:50 +0200)
commit059e58f6f3db8f563c7fef860b69c4e148f397ae
treefe9d8e50207b6a46c93a7c55d77743fd72f02dc0
parentfcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c
ARM: imx: Introduce generic function for displaying silicon revision

Currently each i.MX processor has its own function for displaying the silicon
revision.

Introduce a generic function for this purpose, so that all i.MX processors can
reuse it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/cpu.c
arch/arm/plat-mxc/include/mach/common.h