summaryrefslogtreecommitdiff
path: root/drivers/smc91111.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-06-09 14:47:54 +0000
committerwdenk <wdenk>2004-06-09 14:47:54 +0000
commitc3c7f861aef5abb5173f16af66c3941149954553 (patch)
tree7063ffd701c0ca6ab9ed60cf8587da866a49b6c2 /drivers/smc91111.h
parentf39748ae8edb03017647b0d731cdd06e7bdcde13 (diff)
downloadu-boot-imx-c3c7f861aef5abb5173f16af66c3941149954553.zip
u-boot-imx-c3c7f861aef5abb5173f16af66c3941149954553.tar.gz
u-boot-imx-c3c7f861aef5abb5173f16af66c3941149954553.tar.bz2
Patch by Yuli Barcohen, 20 May 2004:
Add support for Interphase iSPAN boards.
Diffstat (limited to 'drivers/smc91111.h')
-rw-r--r--drivers/smc91111.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/smc91111.h b/drivers/smc91111.h
index a228036..b373452 100644
--- a/drivers/smc91111.h
+++ b/drivers/smc91111.h
@@ -139,6 +139,7 @@ typedef unsigned long int dword;
#else /* if not CONFIG_PXA250 */
+#ifndef CONFIG_SMC_USE_IOFUNCS /* these macros don't work on some boards */
/*
* We have only 16 Bit PCMCIA access on Socket 0
*/
@@ -186,6 +187,8 @@ typedef unsigned long int dword;
})
#endif
+#endif /* CONFIG_SMC_USE_IOFUNCS */
+
#if defined(CONFIG_SMC_USE_32_BIT)
#define SMC_inl(r) (*((volatile dword *)(SMC_BASE_ADDRESS+(r))))