Re: [U-Boot-Users] EEPROM content and multiple NIC

--- Daniel Ann ktdann@gmail.com wrote:
On 4/20/05, Mark Rakes mrakes@mac.com wrote:
d008 == 1101000000001000 100b == 0001000000001011
It's been a long, long time since I touched/looked at this
code (or the
docs!), so don't ask me why this is like it is, but, there
you have
it...
Hahahaha... This is so funny. Its amazing how simple one can get if you just know why.
Looks like an endian issue to me. Just do a byte swap...
Thanks mark.
-- Daniel
This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

In message 20050420144405.70123.qmail@web32203.mail.mud.yahoo.com you wrote:
d008 == 1101000000001000 100b == 0001000000001011
...
Looks like an endian issue to me. Just do a byte swap...
No, not at all. Endianess affects the BYTE order, i. e. the sequence of bytes, but not the positions of the bits in a byte.
Best regards,
Wolfgang Denk
participants (2)
-
Frank
-
Wolfgang Denk