]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ZOOM2 detect the version of the zoom2 board at runtime.
authorTom Rix <Tom.Rix@windriver.com>
Wed, 3 Jun 2009 01:53:56 +0000 (20:53 -0500)
committerWolfgang Denk <wd@denx.de>
Fri, 12 Jun 2009 18:45:47 +0000 (20:45 +0200)
commita30f519bd0cde78ba46b424314de94fdab863726
tree9071cfc29d22d3722acb20c28f4e61f26d54bf90
parent718763c4745fd3d987a5576d2a67325e9444f9d4
ZOOM2 detect the version of the zoom2 board at runtime.

There are currently 3 versions of the zoom2 board.
The production board, that is currently being released.
The beta board, similar in form to the production board but not released.
The alpha board, a set of PCBs with a very limited circulation.

GPIO 94 is used to determine the version of the board. If GPIO 94 is clear,
the board is a production board, otherwise it is a beta board.

The alpha board will likely be mistaken for a beta board.  An alpha board
was unavailible for testing.

This has been tested on the beta and production boards.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
board/omap3/zoom2/zoom2.c
board/omap3/zoom2/zoom2.h