mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
Update MPC5200 FIFO Control settings
(u-boot.habanero.fifo_cntrl.patch from Freescale)
This commit is contained in:
parent
80e238c7f0
commit
c44ffb9efa
1 changed files with 4 additions and 2 deletions
|
@ -291,7 +291,8 @@ static int mpc5xxx_fec_init(struct eth_device *dev, bd_t * bis)
|
|||
/*
|
||||
* Set Rx FIFO alarm and granularity value
|
||||
*/
|
||||
fec->eth->rfifo_cntrl = 0x0c000000;
|
||||
fec->eth->rfifo_cntrl = 0x0c000000
|
||||
| (fec->eth->rfifo_cntrl & ~0x0f000000);
|
||||
fec->eth->rfifo_alarm = 0x0000030c;
|
||||
#if (DEBUG & 0x22)
|
||||
if (fec->eth->rfifo_status & 0x00700000 ) {
|
||||
|
@ -302,7 +303,8 @@ static int mpc5xxx_fec_init(struct eth_device *dev, bd_t * bis)
|
|||
/*
|
||||
* Set Tx FIFO granularity value
|
||||
*/
|
||||
fec->eth->tfifo_cntrl = 0x0c000000;
|
||||
fec->eth->tfifo_cntrl = 0x0c000000
|
||||
| (fec->eth->tfifo_cntrl & ~0x0f000000);
|
||||
#if (DEBUG & 0x2)
|
||||
printf("tfifo_status: 0x%08x\n", fec->eth->tfifo_status);
|
||||
printf("tfifo_alarm: 0x%08x\n", fec->eth->tfifo_alarm);
|
||||
|
|
Loading…
Add table
Reference in a new issue