mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 14:00:44 +00:00
i.MX: Fix FEC code for ECR register reset value.
According to the FEC chapter of i.MX25 reference manual ECR register is initialized at 0xf0000000 at reset time. We fix the value. Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
b413643a5c
commit
ccdb81d327
@ -339,7 +339,7 @@ static void imx_fec_reset(DeviceState *d)
|
||||
s->eir = 0;
|
||||
s->eimr = 0;
|
||||
s->rx_enabled = 0;
|
||||
s->ecr = 0;
|
||||
s->ecr = 0xf0000000;
|
||||
s->mscr = 0;
|
||||
s->mibc = 0xc0000000;
|
||||
s->rcr = 0x05ee0001;
|
||||
|
Loading…
Reference in New Issue
Block a user