[U-Boot] [PATCH v4 3/3] net: add eth_setenv_enetaddr_by_index()

Michael Walle michael at walle.cc
Sat May 12 00:12:45 CEST 2012


Am Freitag 11 Mai 2012, 23:16:02 schrieb Wolfgang Denk:
> Dear Michael Walle,
> 
> In message <201205112301.50311.michael at walle.cc> you wrote:
> > > Eventually this should be made configurable?
> > 
> > Given the above, i would keep it non-configurable if youre fine with
> > that.
> 
> Only if the code size for the existing boards that don't need this
> does not grow.
Well i can't add a new function without increasing the filesize, can i? 

Using inline functions would be one option, but that would be inconsistend 
with the eth_getenv_enetaddr_by_index().

phew, i wonder how the eth_getenv_enetaddr_by_index() made it into uboot ;)

-- 
michael


More information about the U-Boot mailing list