[PATCH v1 3/3] board: microchip: set mac address for ethernet1 on icicle
Conor Dooley
conor.dooley at microchip.com
Wed Jun 14 09:05:41 CEST 2023
On Tue, Jun 13, 2023 at 05:35:58AM +0000, Padmarao.Begari at microchip.com wrote:
> On Wed, 2023-06-07 at 11:06 +0100, Conor Dooley wrote:
> > @@ -123,6 +123,15 @@ int board_late_init(void)
> >
> > mac_addr[5] = device_serial_number[0] + 1;
> >
> > + node = fdt_path_offset(blob, "/soc/ethernet at 20110000");
> > + if (node >= 0) {
> > + ret = fdt_setprop(blob, node, "local-mac-address",
> > mac_addr, 6);
> > + if (ret) {
> > + printf("Error setting local-mac-address
> > property for ethernet at 20112000\n");
> The print error is for ethernet at 20110000 not ethernet at 20112000.
Ah, good spot, thanks. I'll fix that up and resubmit.
Thanks,
Conor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230614/95f28811/attachment.sig>
More information about the U-Boot
mailing list