diff options
author | John Schmoller <jschmoller@xes-inc.com> | 2010-10-22 00:20:24 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-10-22 02:17:16 -0500 |
commit | 92af6549b8c52e9c973e4e197aa4d1edf4df5803 (patch) | |
tree | e190db70b9f506251792b1cdd6585534a017ee91 /board/xes/xpedite5370 | |
parent | 96d6160324c49c81df10b6b4c75d2470cb30dce4 (diff) | |
download | u-boot-imx-92af6549b8c52e9c973e4e197aa4d1edf4df5803.zip u-boot-imx-92af6549b8c52e9c973e4e197aa4d1edf4df5803.tar.gz u-boot-imx-92af6549b8c52e9c973e4e197aa4d1edf4df5803.tar.bz2 |
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>
Diffstat (limited to 'board/xes/xpedite5370')
-rw-r--r-- | board/xes/xpedite5370/xpedite5370.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/board/xes/xpedite5370/xpedite5370.c b/board/xes/xpedite5370/xpedite5370.c index 2a060c2..89fa6c7 100644 --- a/board/xes/xpedite5370/xpedite5370.c +++ b/board/xes/xpedite5370/xpedite5370.c @@ -36,26 +36,6 @@ DECLARE_GLOBAL_DATA_PTR; extern void ft_board_pci_setup(void *blob, bd_t *bd); -int checkboard(void) -{ - char *s; - - printf("Board: X-ES %s 3U VPX SBC\n", CONFIG_SYS_BOARD_NAME); - printf(" "); - s = getenv("board_rev"); - if (s) - printf("Rev %s, ", s); - s = getenv("serial#"); - if (s) - printf("Serial# %s, ", s); - s = getenv("board_cfg"); - if (s) - printf("Cfg %s", s); - printf("\n"); - - return 0; -} - static void flash_cs_fixup(void) { int flash_sel; |