[U-Boot] [PATCH 0/5] New environment code

Mike Frysinger vapier at gentoo.org
Wed Dec 8 11:19:34 CET 2010


On Wednesday, December 08, 2010 05:04:42 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > seems that some todo items are missing, or not well implied.  for
> > example, it seems that gd->env_addr needs to be punted, and these
> > functions get a "_f" appended to their name since they only work on
> > default_environment[] now:
> > 	env_get_addr()
> > 	env_get_char()
> > 	env_get_char_memory()
> > 	envmatch()
> 
> I'm not sure I understand what you mean.
> 
> These functions not NOT only operate on the default_environment[];
> they are also used to access the normal environment before
> relocation.

my point is that they cannot be used after relocation and once the env is 
moved into the hash table.  currently, they dont return any errors if someone 
attempts to do so and while it might seem like the funcs are working, they 
only parse the default env.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101208/71915c79/attachment.pgp 


More information about the U-Boot mailing list