[U-Boot] [PATCH] - add dns

Mike Frysinger vapier at gentoo.org
Mon Jul 20 04:36:14 CEST 2009


On Sunday 19 July 2009 19:30:43 Robin Getz wrote:
> On Sat 18 Jul 2009 21:15, Mike Frysinger pondered:
> > On Saturday 18 July 2009 20:27:00 Robin Getz wrote:
> > > Does it make sense to have 4 different ones? (not to me)...
> > >
> > > Or something new & common in ./net.c:random_port()
> >
> > i would make a new patch that adds a new random_port() function and
> > converts existing consumers to that, and then have the dns code rely on
> > that.
> >
> > and you should adopt my implementation because the generated code is
> > much much nicer than the others ;)
>
> At least on Blackfin - the sntp version and yours are computationally
> equal - although I think yours ends up being more random - so yeah, I'll
> use that one.

any arch that has an instruction for doing the "and" operation should end up 
being computationally as simple as the Blackfin code.  afaik, pretty much all 
do, and the ones who dont are screwed anyways, so nothing to be done for them.
-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/20090719/a1e9be32/attachment-0001.pgp 


More information about the U-Boot mailing list