diff options
author | Joe Hamman <joe.hamman@embeddedspecialties.com> | 2007-08-09 09:08:18 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-09 22:10:44 +0200 |
commit | dcb84b7208ade0bbebbeb56bec9c2c64f8b2eede (patch) | |
tree | b91e33e670f6d4ed45e03ba75dfdee789160fa5c /drivers/tsec.c | |
parent | 6c33c78557ca6f8da68c01ce33e278695197d3f4 (diff) | |
download | u-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.c')
-rw-r--r-- | drivers/tsec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c index 60bef9a..c9e7f97 100644 --- a/drivers/tsec.c +++ b/drivers/tsec.c @@ -296,9 +296,9 @@ static int init_phy(struct eth_device *dev) volatile tsec_t *regs = (volatile tsec_t *)(TSEC_BASE_ADDR); /* Assign a Physical address to the TBI */ - regs->tbipa = TBIPA_VALUE; + regs->tbipa = CFG_TBIPA_VALUE; regs = (volatile tsec_t *)(TSEC_BASE_ADDR + TSEC_SIZE); - regs->tbipa = TBIPA_VALUE; + regs->tbipa = CFG_TBIPA_VALUE; asm("sync"); /* Reset MII (due to new addresses) */ |