diff options
author | Marek Vasut <marex@denx.de> | 2025-01-16 05:03:20 +0100 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2025-01-20 08:40:39 -0300 |
commit | a14d3d96e2c93d8182211320e9e38c78077d43f0 (patch) | |
tree | e4d96246aa40071a19668ceccf2728f4c7c86c6f /drivers/net/fsl_enetc_netc_blk_ctrl.c | |
parent | 755aa1c3ff89387559981830134a77f66a23c959 (diff) |
net: fsl_enetc: Fold DT MAC address update into enetc_set_ierb_primary_mac()
The entire content of the loop can be folded into enetc_set_ierb_primary_mac(),
do it. This changes the behavior slightly such that the DT is only updated in
case of a LS1028A, which is the only SoC with ethernet MAC path in DT matching
"/soc/pcie@1f0000000/ethernet@%x,%x" anyway, so this slight change should have
no impact.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/net/fsl_enetc_netc_blk_ctrl.c')
0 files changed, 0 insertions, 0 deletions