[U-Boot] [PATCH 01/27] Blackfin: bfin_mac: force board_get_enetaddr() usage

Scott Wood scottwood at freescale.com
Thu Jan 29 18:49:02 CET 2009


On Wed, Jan 28, 2009 at 09:43:31PM -0800, Ben Warren wrote:
> Mike Frysinger wrote:
> > +	if (ethaddr == NULL) {
> > +		char nid[20];
> > +		board_get_enetaddr(bd->bi_enetaddr);
> > +		sprintf(nid, "%02X:%02X:%02X:%02X:%02X:%02X",
> >   
> How about snprintf()

Doesn't exist in u-boot, unfortunately.

-Scott


More information about the U-Boot mailing list