]> bbs.cooldavid.org Git - net-next-2.6.git/commit
omap3: Introduce function to detect the IGEP v2 hardwarerevision
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Fri, 8 Oct 2010 17:22:35 +0000 (10:22 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Oct 2010 17:22:35 +0000 (10:22 -0700)
commit3f8c48d95f8e4ed3ea241c3e8704b5ff6c423fa4
treedebe39539ac5bde2ce59dbd7e11ab5e86d88bb85
parentbee153906424f3bf669afec397c810b76117e22b
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