projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b413643
)
i.MX: Fix FEC code for ECR register reset value.
author
Jean-Christophe Dubois
<jcd@tribudubois.net>
Mon, 30 May 2016 17:25:56 +0000
(19:25 +0200)
committer
Jason Wang
<jasowang@redhat.com>
Thu, 2 Jun 2016 02:42:46 +0000
(10:42 +0800)
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>
hw/net/imx_fec.c
patch
|
blob
|
history
diff --git
a/hw/net/imx_fec.c
b/hw/net/imx_fec.c
index bf68ce66cfa4a9ed457e5498e7412472165fa44c..768181e3c10e7c7fdb3df8faca8d4a5567daa813 100644
(file)
--- a/
hw/net/imx_fec.c
+++ b/
hw/net/imx_fec.c
@@
-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 = 0
xf0000000
;
s->mscr = 0;
s->mibc = 0xc0000000;
s->rcr = 0x05ee0001;