Re: [PATCH v4 1/4] board: dhelectronics: Implement common MAC address functions

2022-08-12 Thread Tom Rini
On Tue, Jul 26, 2022 at 03:04:50PM +0200, Philip Oberfichtner wrote: > This is a starting point for unifying duplicate code in the DH board > files. The functions for setting up MAC addresses are very similar for > the i.MX6, i.MX8 and stm32mp1 based boards. > > All pre-existing implementations

[PATCH v4 1/4] board: dhelectronics: Implement common MAC address functions

2022-07-26 Thread Philip Oberfichtner
This is a starting point for unifying duplicate code in the DH board files. The functions for setting up MAC addresses are very similar for the i.MX6, i.MX8 and stm32mp1 based boards. All pre-existing implementations follow the same logic: (1) Check if ethaddr is already set in the environment