summaryrefslogtreecommitdiffstats
path: root/drivers/tsec.c
diff options
context:
space:
mode:
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 60bef9af39..c9e7f97e7f 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) */
OpenPOWER on IntegriCloud