From: Wolfgang Denk Date: Mon, 20 Oct 2008 12:51:31 +0200 Subject: [U-Boot] FDT include file problems In-Reply-To: <48FC5AB3.10302@gmail.com> References: <20081019220159.CB9F8835697A@gemini.denx.de> <20081020031023.GA18173@cideas.com> <20081020072341.BC464835697A@gemini.denx.de> <48FC5AB3.10302@gmail.com> Message-ID: <20081020105131.E583E835697A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jerry Van Baren, In message <48FC5AB3.10302@gmail.com> you wrote: > > ...and if I were not rushing so much, I would have found that myself > instead of looking stupid. :-( > > Google hasn't been very helpful for answering the question of how to > handle endian issues in userland (non-kernel) code. Hmmm. Grrr. Maybe > I'm not asking it the right question. Well, I have to admit that you did not perform better, because I've been searching before, and I didn't find a good solution myself either. Normally, I use the network macros for such stuff, but these don't have any 64 bit conversions... > Maybe we need to make our own copy of linux/byteorder/swab.h in u-boot? > That doesn't seem right. No, that would not be right. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Real programmers can write assembly code in any language. :-) - Larry Wall in <8571@jpl-devvax.JPL.NASA.GOV>