[U-Boot-Users] ntohl and others

Wolfgang Denk wd at denx.de
Fri Mar 2 17:51:30 CET 2007

In message <20070302164612.GF10206 at takaisin.fi> you wrote:
> Yes, I missed it. I found it too, when I dug deeper, but I was unable to 
> figure out what is the right way to get it working. So as a quick and 
> dirty 'fix' I copied the macros to place where I'm using them since I'm 
> running at big-endian mode the macros don't do anything.
> But I'd like to make the things in right way so how do I get them in use 
> properly? The target is ixp425.

Just read the existing code. The network code is full of these.

Best regards,

Wolfgang Denk

DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There is nothing in this world constant but inconstancy.      - Swift

More information about the U-Boot mailing list