[U-Boot] [PATCH v3] fdt: rework fdt_fixup_ethernet() to use env instead of bd_t

Scott Wood scottwood at freescale.com
Tue Aug 19 19:08:18 CEST 2008


On Tue, Aug 19, 2008 at 10:23:54AM -0500, Kumar Gala wrote:
> > Please do not do this. env_get_char() is a function that is internal
> > to the environment handling code. It is not supposed to be exported to
> > arbitrary code. Please do not make any assumptions about the internals
> > of how the environment is stored.
> >
> > NAK.
> 
> I'm so confused.. how does one 'iterate' over the environment than?   
> As you agree with Scott's suggestion in:
> 
> http://lists.denx.de/pipermail/u-boot/2008-August/000498.html

Add something to the env code itself to iterate with a callback pointer.

-Scott



More information about the U-Boot mailing list