Dear Timur Tabi, In message <[email protected]> you wrote: > On Thu, Apr 8, 2010 at 10:50 AM, Kumar Gala <[email protected]> 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: [email protected] Our business is run on trust. We trust you will pay in advance. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

