summaryrefslogtreecommitdiff
path: root/drivers/tsec.h
diff options
context:
space:
mode:
authorJoe Hamman <joe.hamman@embeddedspecialties.com>2007-08-09 09:08:18 -0500
committerWolfgang Denk <wd@denx.de>2007-08-09 22:10:44 +0200
commitdcb84b7208ade0bbebbeb56bec9c2c64f8b2eede (patch)
treeb91e33e670f6d4ed45e03ba75dfdee789160fa5c /drivers/tsec.h
parent6c33c78557ca6f8da68c01ce33e278695197d3f4 (diff)
downloadu-boot-imx-dcb84b7208ade0bbebbeb56bec9c2c64f8b2eede.zip
u-boot-imx-dcb84b7208ade0bbebbeb56bec9c2c64f8b2eede.tar.gz
u-boot-imx-dcb84b7208ade0bbebbeb56bec9c2c64f8b2eede.tar.bz2
tsec: Allow Ten Bit Interface address to be configurable
Allow the address of the Ten Bit Interface (TBI) to be changed in the event of a conflict with another device. Signed-off by: Joe Hamman <joe.hamman@embeddedspecialties.com>
Diffstat (limited to 'drivers/tsec.h')
-rw-r--r--drivers/tsec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/tsec.h b/drivers/tsec.h
index 7bf3dee..2f0092a 100644
--- a/drivers/tsec.h
+++ b/drivers/tsec.h
@@ -70,7 +70,9 @@
#define miim_end -2
#define miim_read -1
-#define TBIPA_VALUE 0x1f
+#ifndef CFG_TBIPA_VALUE
+ #define CFG_TBIPA_VALUE 0x1f
+#endif
#define MIIMCFG_INIT_VALUE 0x00000003
#define MIIMCFG_RESET 0x80000000