mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:37:10 +02:00
ar71xx: set default values for the fifo cfg registers on AR724x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22303 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d0f1d585e3
commit
e70bddd713
@ -447,6 +447,13 @@ void __init ar71xx_add_device_eth(unsigned int id)
|
|||||||
pdata->set_pll = id ? ar724x_set_pll_ge1
|
pdata->set_pll = id ? ar724x_set_pll_ge1
|
||||||
: ar724x_set_pll_ge0;
|
: ar724x_set_pll_ge0;
|
||||||
pdata->is_ar724x = 1;
|
pdata->is_ar724x = 1;
|
||||||
|
|
||||||
|
if (!pdata->fifo_cfg1)
|
||||||
|
pdata->fifo_cfg1 = 0x0010ffff;
|
||||||
|
if (!pdata->fifo_cfg2)
|
||||||
|
pdata->fifo_cfg2 = 0x015500aa;
|
||||||
|
if (!pdata->fifo_cfg3)
|
||||||
|
pdata->fifo_cfg3 = 0x01f00140;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AR71XX_SOC_AR9130:
|
case AR71XX_SOC_AR9130:
|
||||||
|
Loading…
Reference in New Issue
Block a user