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 --- include/configs/CPCI750.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/CPCI750.h') diff --git a/include/configs/CPCI750.h b/include/configs/CPCI750.h index 3b0b888f7..d516c3cb8 100644 --- a/include/configs/CPCI750.h +++ b/include/configs/CPCI750.h @@ -627,4 +627,6 @@ #define CONFIG_SYS_BOARD_ASM_INIT 1 +#define CPCI750_SLAVE_TEST (((in8(0xf0300000) & 0x80) == 0) ? 0 : 1) + #endif /* __CONFIG_H */ -- cgit v1.2.3