Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[POWERPC] bootwrapper: convert cuboot-8{3,5}xx to dt_fixup_mac_address_by_alias

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

+5 -3
+2 -1
arch/powerpc/boot/cuboot-83xx.c
··· 24 24 void *soc; 25 25 26 26 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); 27 - dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr); 27 + dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); 28 + dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); 28 29 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 4, bd.bi_busfreq); 29 30 30 31 /* Unfortunately, the specific model number is encoded in the
+3 -2
arch/powerpc/boot/cuboot-85xx.c
··· 24 24 void *soc; 25 25 26 26 dt_fixup_memory(bd.bi_memstart, bd.bi_memsize); 27 - dt_fixup_mac_addresses(bd.bi_enetaddr, bd.bi_enet1addr, 28 - bd.bi_enet2addr); 27 + dt_fixup_mac_address_by_alias("ethernet0", bd.bi_enetaddr); 28 + dt_fixup_mac_address_by_alias("ethernet1", bd.bi_enet1addr); 29 + dt_fixup_mac_address_by_alias("ethernet2", bd.bi_enet2addr); 29 30 dt_fixup_cpu_clocks(bd.bi_intfreq, bd.bi_busfreq / 8, bd.bi_busfreq); 30 31 31 32 /* Unfortunately, the specific model number is encoded in the