xes: Consolidate checkboard()
authorJohn Schmoller <jschmoller@xes-inc.com>
Fri, 22 Oct 2010 05:20:24 +0000 (00:20 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 22 Oct 2010 07:17:16 +0000 (02:17 -0500)
commit92af6549b8c52e9c973e4e197aa4d1edf4df5803
treee190db70b9f506251792b1cdd6585534a017ee91
parent96d6160324c49c81df10b6b4c75d2470cb30dce4
xes: Consolidate checkboard()

Create a common checkboard() function to support all X-ES's Freescale
boards.

Also, add a get_board_derivative() function which reads hardware
strapping resistors to determine what model a board is.  This allows one
U-Boot image to support multiple boards.

Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/xes/common/Makefile
board/xes/common/board.c [new file with mode: 0644]
board/xes/common/fsl_8xxx_misc.c [new file with mode: 0644]
board/xes/common/fsl_8xxx_misc.h [new file with mode: 0644]
board/xes/xpedite5170/xpedite5170.c
board/xes/xpedite5200/xpedite5200.c
board/xes/xpedite5370/xpedite5370.c
include/configs/XPEDITE1000.h
include/configs/XPEDITE5170.h
include/configs/XPEDITE5200.h
include/configs/XPEDITE5370.h