ARM: imx: Get the silicon version from the IIM module
authorDinh Nguyen <Dinh.Nguyen@freescale.com>
Mon, 15 Nov 2010 17:30:01 +0000 (11:30 -0600)
committerSascha Hauer <s.hauer@pengutronix.de>
Sun, 28 Nov 2010 18:51:47 +0000 (19:51 +0100)
commit9ab4650f718a0e1cb8792bab4ef97efca4ac75c2
treeb04138d06accafc9861098238260f815d35edb8a
parentb66ff7a2cd411a2245c984793a7eb98ee91771f9
ARM: imx: Get the silicon version from the IIM module

Instead of reading the silicon version from ROM, we should
read the SREV register from the IIM.

Freescale has dropped all support for MX51 REV1.0, only MX51
REV 2.0 and 3.0 are valid.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
13 files changed:
arch/arm/mach-imx/clock-imx27.c
arch/arm/mach-imx/cpu-imx27.c
arch/arm/mach-mx3/clock-imx31.c
arch/arm/mach-mx3/cpu.c
arch/arm/mach-mx5/clock-mx51-mx53.c
arch/arm/mach-mx5/cpu.c
arch/arm/mach-mx5/mm.c
arch/arm/plat-mxc/include/mach/mx27.h
arch/arm/plat-mxc/include/mach/mx31.h
arch/arm/plat-mxc/include/mach/mx35.h
arch/arm/plat-mxc/include/mach/mx3x.h
arch/arm/plat-mxc/include/mach/mx51.h
arch/arm/plat-mxc/include/mach/mxc.h