From 58f10460b05e0928d986b15edd4f2e1e99403f7e Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 4 Jun 2009 13:35:39 +0200 Subject: 74xx_7xx: CPCI750: Add CPCI adapter/target support The CPCI750 can be built as CPCI host or adapter/target board. This patch adds support for runtime detection of those variants. Signed-off-by: Stefan Roese Cc: Reinhard Arlt --- board/esd/cpci750/cpci750.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'board/esd/cpci750/cpci750.c') diff --git a/board/esd/cpci750/cpci750.c b/board/esd/cpci750/cpci750.c index 4ac1ff4..2ae4cbd 100644 --- a/board/esd/cpci750/cpci750.c +++ b/board/esd/cpci750/cpci750.c @@ -140,6 +140,15 @@ void board_prebootm_init (void); unsigned int INTERNAL_REG_BASE_ADDR = CONFIG_SYS_GT_REGS; int display_mem_map (void); +/* + * Skip video initialization on slave variant. + * This function will overwrite the weak default in cfb_console.c + */ +int board_video_skip(void) +{ + return CPCI750_SLAVE_TEST; +} + /* ------------------------------------------------------------------------- */ /* -- cgit v1.1