projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ae372
)
net: fec_mxc: not access reserved register on i.MX8
author
Peng Fan
<
[email protected]
>
Mon, 15 Apr 2019 05:18:33 +0000
(
05:18
+0000)
committer
Stefano Babic
<
[email protected]
>
Tue, 11 Jun 2019 08:43:00 +0000
(10:43 +0200)
We should not access reserved register on i.MX8, otherwise met SERROR
Signed-off-by: Peng Fan <
[email protected]
>
Acked-by: Joe Hershberger <
[email protected]
>
drivers/net/fec_mxc.c
patch
|
blob
|
history
diff --git
a/drivers/net/fec_mxc.c
b/drivers/net/fec_mxc.c
index a672250e16a166ab22d4cbc77793c53626beaa0a..d7c080943a53984f895ef0de8f3da242575b1a53 100644
(file)
--- a/
drivers/net/fec_mxc.c
+++ b/
drivers/net/fec_mxc.c
@@
-604,7
+604,7
@@
static int fec_init(struct eth_device *dev, bd_t *bd)
writel(0x00000000, &fec->eth->gaddr2);
/* Do not access reserved register */
- if (!is_mx6ul() && !is_mx6ull() && !is_imx8m()) {
+ if (!is_mx6ul() && !is_mx6ull() && !is_imx8
() && !is_imx8
m()) {
/* clear MIB RAM */
for (i = mib_ptr; i <= mib_ptr + 0xfc; i += 4)
writel(0, i);