i.MX51: determine silicon revision dynamically
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 19 Mar 2010 09:50:55 +0000 (10:50 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 19 Mar 2010 10:18:20 +0000 (11:18 +0100)
commit5443856cadac7faaaeefeed9d769f497a8c6fa4b
tree746f366043cfa6c93205c36c42d492acbf38a7c7
parent3d1bc8626c7b17facfcb7fb5dee4686f47a1e75d
i.MX51: determine silicon revision dynamically

Freescale redboot passes the silicon revision via
ATAG_REVISION. Remove this bootloader dependency by
doing the same as redboot does in the Kernel.

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