omap3: Introduce function to detect the IGEP v2 hardwarerevision
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Tue, 5 Oct 2010 14:15:19 +0000 (14:15 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Oct 2010 17:10:04 +0000 (10:10 -0700)
commitf6f4ba60122bc7e49243751ea88aaec203c52e61
tree7473d7a0e4c8bfd42c09125d0508e55d1e6b7812
parentc412b391070fa69c64e966a26d31850a39501455
omap3: Introduce function to detect the IGEP v2 hardwarerevision

There are currently two versions of IGEP v2 board, this patch introduces a
function to detect the hardware revision of IGEP board.

  --------------------------
 | Id. | Hw Rev. | GPIO 28  |
  --------------------------
 |  0  |   B/C   |   high   |
 |  1  |   C     |   low    |
  --------------------------

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-igep0020.c