ARM: 6967/1: ep93xx: ts72xx: fix board model detection
authorPetr Štetiar <ynezz@true.cz>
Fri, 17 Jun 2011 10:11:59 +0000 (11:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Aug 2011 10:58:59 +0000 (11:58 +0100)
commit505ed6fd82608bd4f26d487220ec40a3c5d0dded
tree7326ad35f9a117e2ea423c55b3d3ba423f909ec5
parent2a004c686e7997ddb795dbce10b263e241f9bdaf
ARM: 6967/1: ep93xx: ts72xx: fix board model detection

Fix the obvious error in board detection logic, because according to the TS's
manual, the model is stored in the least three significant bits. For example
the byte read on my ts-7300 is 0x23 and the detection then fails.

Cc: Ryan Mallon <ryan@bluewatersys.com>
Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/include/mach/ts72xx.h