overo: handle board revision detection for fab revisions <= R2410
authorSteve Sakoman <steve@sakoman.com>
Fri, 17 Sep 2010 03:44:52 +0000 (20:44 -0700)
committerSteve Sakoman <steve@sakoman.com>
Fri, 17 Sep 2010 03:44:52 +0000 (20:44 -0700)
commita164723f6f8b8b1d47ed368ef78ec52008db0d44
treeabf46b5e0ffc3800e6f2b2cf5b4f4f9192a1ddc8
parentabcc567133c8d03b11a7ea527b94a5d60c7a6cdc
overo: handle board revision detection for fab revisions <= R2410

Revisions < R2410 connect gpio112 to the 4030 irq_1 line. Since gpio112
is now used for board revision, this could lead to an erroneous
board revision results depending on the state of the irq.

This patch forces a 4030 RTC interrupt, which pulls irq_1 low, giving
a low level on gpio112 on these boards.  This gives a proper revision
0 result for these boards.
board/overo/overo.c