mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
74ae372ae4
commit
b5d97e10fa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue