ARM: mx50: Add support to get the silicon revision
authorDinh Nguyen <Dinh.Nguyen@freescale.com>
Mon, 21 Mar 2011 21:30:35 +0000 (16:30 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 23 Mar 2011 14:08:15 +0000 (15:08 +0100)
commit16f246e69b8857c6a2993f1b6663e92d4d4e5395
tree9ae26cd2131b8096c8d17e3754f307b6092b514d
parent021ebc2da02a7f3107a8f31d8a0ebfbe4175429e
ARM: mx50: Add support to get the silicon revision

For MX50, the HW_ADADIG_DIGPROG register in the ANATOP module will
have the correct silicon revision:

Major       Minor   Description
0x50        0x0     TO1.0
0x50        0x1     TO1.1

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx5/cpu.c
arch/arm/plat-mxc/include/mach/mx50.h