|
@@ -296,9 +296,9 @@ static int init_phy(struct eth_device *dev)
|
|
volatile tsec_t *regs = (volatile tsec_t *)(TSEC_BASE_ADDR);
|
|
volatile tsec_t *regs = (volatile tsec_t *)(TSEC_BASE_ADDR);
|
|
|
|
|
|
/* Assign a Physical address to the TBI */
|
|
/* 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 = (volatile tsec_t *)(TSEC_BASE_ADDR + TSEC_SIZE);
|
|
- regs->tbipa = TBIPA_VALUE;
|
|
|
|
|
|
+ regs->tbipa = CFG_TBIPA_VALUE;
|
|
asm("sync");
|
|
asm("sync");
|
|
|
|
|
|
/* Reset MII (due to new addresses) */
|
|
/* Reset MII (due to new addresses) */
|