Subject: Re: [PATCH] powerpc/boot: cuboot: Fix up ethernet3 MAC address on MPC85xx

From: Nathaniel Case <[email-masked]>
Date: Wed, 10 Jun 2009 22:40:33 -0500

On Wed, 10 Jun 2009 21:54:01 -0500, Kumar Gala <[email-masked]>
wrote:
>> #define TARGET_85xx
>> +#define TARGET_HAS_ETH3
> 
> This is problematic in that we'd be changing the memory layout of the  
> bd_t and not ALL 85xx's have HAS_ETH3 set.

It shouldn't be problematic.  The bi_enet3addr field is at the end of the
structure on MPC85xx.  The only fields after it in ppcboot.h are
4xx-specific
fields.  I believe the MAC addresses were placed at the end of the struct
for
this very reason.

-- 
Nate Case <[email-masked]>