summaryrefslogtreecommitdiff
path: root/common/eeprom
diff options
context:
space:
mode:
authorBogdan Purcareata <bogdan.purcareata@nxp.com>2017-01-11 15:58:36 +0000
committerYork Sun <york.sun@nxp.com>2017-01-31 09:25:21 -0800
commit5707dfb02e0886ab69d51bfc161cd80b3e33a864 (patch)
tree45df759482a9feea4bcd5cc8891cb2c26535a7bc /common/eeprom
parent6b91aa4bd8098b2b83893464569acd35d1c396fb (diff)
downloadu-boot-imx-5707dfb02e0886ab69d51bfc161cd80b3e33a864.zip
u-boot-imx-5707dfb02e0886ab69d51bfc161cd80b3e33a864.tar.gz
u-boot-imx-5707dfb02e0886ab69d51bfc161cd80b3e33a864.tar.bz2
drivers: net: fsl-mc: Fixup MAC addresses in DPC
Fixup port_mac_address property in MC DPC with values from the u-boot environment. Since u-boot already reads the environment MAC addresses when probing the PHYs, use these values. The u-boot environment MAC addresses take precedence over any eventual ones defined in the DPC, except for the case where they are randomly assigned (no u-boot env value declared for port). The patch assumes the "/board_info/ports/" node is present in the DPC. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> [York S: Fix several indentations] Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'common/eeprom')
0 files changed, 0 insertions, 0 deletions