powerpc/85xx: cuboot - Fix up ethernet3 MAC address on MPC85xx
authorNate Case <ncase@xes-inc.com>
Mon, 8 Jun 2009 22:17:42 +0000 (17:17 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Jun 2009 02:45:32 +0000 (21:45 -0500)
commit7b9edb9d619a1b3ecd35d832d4a93803d4f0ca5f
tree980a47a1d5fc882c5bae8de9d4f3c70b337e5af0
parentb45cc9eff72e0871ffb83ae32c3dbca382909706
powerpc/85xx: cuboot - Fix up ethernet3 MAC address on MPC85xx

Some MPC85xx platforms do support 4 ethernet ports, so make sure the boot
wrapper fixes up all of them in the fdt.

Since MAC addresses are at the end of the bd_t structure there is no harm
in expanding to support 4 MAC address on older 85xx systems that might not
have that many.

Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/cuboot-85xx.c