ARM: 5998/1: ep93xx: added chip revision reading function
authorMika Westerberg <mika.westerberg@iki.fi>
Sat, 27 Mar 2010 11:05:14 +0000 (12:05 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 14 Apr 2010 10:19:24 +0000 (11:19 +0100)
commit99e6a23adfadc2da2006f3715c4332c3bf502c07
tree5e97ad3f9e7935c7afa885cb8b09913d20097a11
parentb370e082e7c4bd47195b2ec117ceeadd9286d8c0
ARM: 5998/1: ep93xx: added chip revision reading function

Added a new function: ep93xx_chip_revision() which reads chip revision
from the sysconfig register.

Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/core.c
arch/arm/mach-ep93xx/include/mach/platform.h