Dear Timur Tabi, In message <i2xed82fe3e1004080919p5e6a472ek388dbf21a3bd8...@mail.gmail.com> you wrote: > On Thu, Apr 8, 2010 at 10:50 AM, Kumar Gala <ga...@kernel.crashing.org> wro= > te: > > > Good point, I wasn't look at what the src info was. =A0We should probably= > fix the struct diu_ad, diu to use 'u32' etc. > > Or __be32. I think the consensus is that struct fields for hardware > registers should use endian-specific sized integers.
<sarcasm> Is there such consensus? Does this include chip designers? I mean, can we be sure that __be32 will also work if this IP core shows up in a little-endian ARM system? </sarcasm> 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: w...@denx.de Our business is run on trust. We trust you will pay in advance. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot