Yosemite/440EP why are readl()/ioread32() setup to read little-endian?
David Hawkins
dwh at ovro.caltech.edu
Thu Jan 26 06:36:20 EST 2006
Hi Eugene,
>
> use in_/out_ accessors, not pointers. Look at other 4xx drivers (i2c,
> emac)
>
> Also, you don't have worry about this code being non-portable, because
> every chip has it's own GPIO impl anyway.
>
Thanks for the feedback.
I haven't looked for it yet, but do you know if there is a driver
for the Yosemite board I2C temperature sensor already written?
If its not, that might be a nice little exercise for me.
Thanks,
Dave
More information about the Linuxppc-embedded
mailing list