[U-Boot] [PATCH] fsl-diu: Using I/O accessor to CCSR space
Wolfgang Denk
wd at denx.de
Sat Apr 10 22:24:06 CEST 2010
Dear Timur Tabi,
In message <i2xed82fe3e1004080919p5e6a472ek388dbf21a3bd899f at mail.gmail.com> you wrote:
> On Thu, Apr 8, 2010 at 10:50 AM, Kumar Gala <galak at 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: wd at denx.de
Our business is run on trust. We trust you will pay in advance.
More information about the U-Boot
mailing list