summaryrefslogtreecommitdiff
path: root/include/configs/CPCI750.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-06-04 13:35:39 +0200
committerWolfgang Denk <wd@denx.de>2009-06-12 20:47:18 +0200
commit58f10460b05e0928d986b15edd4f2e1e99403f7e (patch)
treecc077776132c1c38243fa1254af81f5240536543 /include/configs/CPCI750.h
parentae7a2739d7a0704437376e229bb21940952c55be (diff)
downloadu-boot-imx-58f10460b05e0928d986b15edd4f2e1e99403f7e.zip
u-boot-imx-58f10460b05e0928d986b15edd4f2e1e99403f7e.tar.gz
u-boot-imx-58f10460b05e0928d986b15edd4f2e1e99403f7e.tar.bz2
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 <sr@denx.de> Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Diffstat (limited to 'include/configs/CPCI750.h')
-rw-r--r--include/configs/CPCI750.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/CPCI750.h b/include/configs/CPCI750.h
index 3b0b888..d516c3c 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 */