summaryrefslogtreecommitdiff
path: root/drivers/tsec.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-08-09 22:11:03 +0200
committerWolfgang Denk <wd@denx.de>2007-08-09 22:11:03 +0200
commit0c4d65e33b91311b053b11c651742944e50b3673 (patch)
tree06e396389f2f6470ce74275d0cd579fe7c318a1f /drivers/tsec.c
parentb23b547597ff2375ad13a9ab04e5257a3ad76c99 (diff)
parentdcb84b7208ade0bbebbeb56bec9c2c64f8b2eede (diff)
downloadu-boot-imx-0c4d65e33b91311b053b11c651742944e50b3673.zip
u-boot-imx-0c4d65e33b91311b053b11c651742944e50b3673.tar.gz
u-boot-imx-0c4d65e33b91311b053b11c651742944e50b3673.tar.bz2
Merge with /home/wd/git/u-boot/work
Diffstat (limited to 'drivers/tsec.c')
-rw-r--r--drivers/tsec.c4
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) */