ARMV7: OMAP: Add board revision detection for Overo
authorSteve Sakoman <steve@sakoman.com>
Thu, 12 Aug 2010 22:13:02 +0000 (15:13 -0700)
committerSandeep Paulraj <s-paulraj@ti.com>
Wed, 8 Sep 2010 18:50:38 +0000 (14:50 -0400)
commitc2d5b341206f44c13f4de3c4bb80916d085dfdea
tree12c4d1fee8e289d65f940bea530b0aaa7daf1b44
parent5af324603409908280b9afdc5686351c3ebbd4f4
ARMV7: OMAP: Add board revision detection for Overo

The latest Overo COM modules encode their revision number on
GPIOs 115, 113, and 112.  All boards to date have no pullups on these pins
and hence appear as revision 0.

This patch reads and prints the revision information.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/overo/overo.c
board/overo/overo.h