compulab: refactor board revision handling
authorIgor Grinberg <grinberg@compulab.co.il>
Mon, 3 Nov 2014 09:32:18 +0000 (11:32 +0200)
committerTom Rini <trini@ti.com>
Thu, 6 Nov 2014 16:04:40 +0000 (11:04 -0500)
commita937fd1682625b1f87b555e2af9117fcb2999d7c
tree6f39f972c9387f7af48fde11ecc941829debba62
parent52d848695c36d2b6ce688d1403653653e82583b4
compulab: refactor board revision handling

Move board revision handling code to a common location
for further reuse.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Reviewed-by: Tom Rini <trini@ti.com>
board/compulab/cm_t35/cm_t35.c
board/compulab/common/Makefile
board/compulab/common/common.c [new file with mode: 0644]
board/compulab/common/common.h [new file with mode: 0644]
board/compulab/common/eeprom.c