[U-Boot] [PATCH v2] usb: eth: asix88179: add ability to modify MAC address

Marek Vasut marex at denx.de
Mon Jan 12 18:37:54 CET 2015


On Monday, January 12, 2015 at 06:07:27 PM, René Griessl wrote:
> Am 12.01.2015 um 17:54 schrieb Marek Vasut:
> > On Monday, January 12, 2015 at 05:51:16 PM, Rene Griessl wrote:
> >> This patch enables U-Boot to modify the MAC address of the AX88179.
> >> Tested on RECS5250 (similar to Arndale5250)
> >> 
> >> Signed-off-by: Rene Griessl <rgriessl at cit-ec.uni-bielefeld.de>
> >> ---
> >> 
> >> Changes for v2:
> >> 	- removed memcpy
> > 
> > Hi!
> > 
> > what was the reason for the memcpy() in the first place please ?
> 
> I copied the function from the asix.c driver. There it is needed for the
> cache aligned buffer.
> But in this case the alignment is already implemented in the write
> function. So you were right, it is not needed here!

OK, thanks!

Applied to u-boot-usb/next , thanks!

Best regards,
Marek Vasut


More information about the U-Boot mailing list