diff options
author | Peng Fan <peng.fan@nxp.com> | 2019-04-15 05:18:33 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-06-11 10:43:00 +0200 |
commit | b5d97e10fa7a4803236f314813ad7c181c744170 (patch) | |
tree | 8458babc5e5056badd6f88c0d66daf17868a4be6 /drivers | |
parent | 74ae372ae4cf260402c15197fc1ea40a0269747d (diff) | |
download | u-boot-b5d97e10fa7a4803236f314813ad7c181c744170.tar.gz |
net: fec_mxc: not access reserved register on i.MX8
We should not access reserved register on i.MX8, otherwise met SERROR
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/fec_mxc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index a672250e16..d7c080943a 100644 --- 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_imx8m()) { /* clear MIB RAM */ for (i = mib_ptr; i <= mib_ptr + 0xfc; i += 4) writel(0, i); |