Re: [U-Boot] why does fdt_fixup_ethernet() need to worry about an edited FDT?

2016-05-24 Thread Bin Meng
On Tue, May 24, 2016 at 8:55 PM, Robert P. J. Day wrote: > > looking at the code for fdt_fixup_ethernet() in fdt_support.c, and > i'm puzzled by the extra work being done ostensibly to take an > "edited" FDT into account: > > void fdt_fixup_ethernet(void *fdt) > { > int i, j, prop; >

[U-Boot] why does fdt_fixup_ethernet() need to worry about an edited FDT?

2016-05-24 Thread Robert P. J. Day
looking at the code for fdt_fixup_ethernet() in fdt_support.c, and i'm puzzled by the extra work being done ostensibly to take an "edited" FDT into account: void fdt_fixup_ethernet(void *fdt) { int i, j, prop; char *tmp, *end; char mac[16]; const char *path;