Bogdan Purcareata
5707dfb02e
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 >
2017-01-31 09:25:21 -08:00
..
2017-01-04 19:40:20 -05:00
2017-01-31 09:25:21 -08:00
2016-11-21 09:20:32 -08:00
2017-01-11 07:00:27 +01:00
2016-10-06 20:57:40 -04:00
2016-05-31 09:38:11 +02:00
2016-01-14 22:11:34 -05:00
2015-11-12 08:26:59 +08:00
2016-12-27 11:24:17 -05:00
2016-12-27 11:24:17 -05:00
2016-08-15 15:26:33 -05:00
2016-10-23 18:33:18 -04:00
2016-08-15 15:29:03 -05:00
2014-08-30 07:46:39 -04:00
2016-08-15 15:29:03 -05:00
2016-08-15 15:29:03 -05:00
2016-08-15 15:29:03 -05:00
2015-04-18 11:11:33 -06:00
2016-05-24 11:42:03 -05:00
2016-10-13 20:03:33 -04:00
2015-04-18 11:11:33 -06:00
2016-08-22 14:21:20 -05:00
2015-04-18 11:11:33 -06:00
2017-01-11 20:23:50 -07:00
2017-01-11 20:23:50 -07:00
2016-01-14 22:11:34 -05:00
2015-04-18 11:11:33 -06:00
2016-11-07 11:28:15 -06:00
2016-08-15 13:34:45 -05:00
2016-12-04 13:55:01 -05:00
2016-02-05 12:47:23 +08:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:29:03 -05:00
2016-08-15 13:34:49 -05:00
2016-12-16 17:15:27 +01:00
2016-12-16 17:15:27 +01:00
2016-08-15 15:26:33 -05:00
2016-09-23 17:55:42 -04:00
2016-01-14 22:11:34 -05:00
2016-01-14 22:11:34 -05:00
2016-09-23 17:55:42 -04:00
2017-01-11 20:23:50 -07:00
2016-01-14 22:11:34 -05:00
2017-01-11 20:23:50 -07:00
2016-11-28 20:15:18 -05:00
2015-04-18 11:11:33 -06:00
2016-02-06 12:00:59 +01:00
2014-04-18 10:42:30 -04:00
2016-09-23 17:55:42 -04:00
2016-10-01 20:05:14 -04:00
2015-08-11 13:27:15 -05:00
2017-01-11 20:23:50 -07:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:29:03 -05:00
2016-08-15 15:26:33 -05:00
2016-08-15 15:26:33 -05:00
2016-11-07 11:28:16 -06:00
2016-10-13 12:25:21 -05:00
2016-10-13 14:10:32 -06:00
2015-04-18 11:11:33 -06:00
2016-05-02 18:37:09 -04:00
2015-11-05 08:22:21 +01:00
2015-04-18 11:11:33 -06:00
2016-09-21 15:04:32 +02:00
2016-02-05 12:47:23 +08:00
2016-05-31 09:38:11 +02:00
2016-02-01 22:14:02 +01:00
2016-02-01 22:14:02 +01:00
2016-02-01 22:14:02 +01:00
2015-04-18 11:11:33 -06:00
2016-12-04 13:55:01 -05:00
2015-07-21 17:39:40 -06:00
2016-01-07 12:18:58 -07:00
2016-09-23 17:55:42 -04:00
2016-05-05 21:39:26 -04:00
2016-08-15 15:29:03 -05:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00
2016-11-28 15:10:31 -05:00
2015-07-21 17:39:40 -06:00
2016-09-23 17:55:42 -04:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-09-23 17:55:42 -04:00
2016-04-06 08:34:44 -07:00
2016-12-20 07:40:04 +01:00
2016-12-20 07:40:04 +01:00
2015-04-18 11:11:33 -06:00
2015-04-18 11:11:33 -06:00
2016-01-27 15:57:20 +01:00
2017-01-10 10:18:12 +01:00