]> git.baikalelectronics.ru Git - uboot.git/commit
drivers: net: fsl_enetc: add write_hwaddr() for LS1028A
authorMichael Walle <michael@walle.cc>
Fri, 20 Dec 2019 13:16:48 +0000 (14:16 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 24 Jan 2020 08:58:26 +0000 (14:28 +0530)
commite7e952eaeb8db924339a9eddd14391253369c28a
treeb82a64e78ce99d0c4400f2c12f88e5454ac98e29
parent0e0ba212dc032f38d167efc36c7a5d6f314b6cd7
drivers: net: fsl_enetc: add write_hwaddr() for LS1028A

The LS1028A SoC is special in the handling of the MAC addresses. We need
to write to the IERB version of the PSIPMAR0/1 register. This value will
be sampled into the corresponding port PSIPMAR0/1 register if the PCI
memory access is enabled.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fsl_enetc.c