Re: Yosemite/440EP why are readl()/ioread32() setup to read little-endian?
From: David Hawkins <hidden>
Date: 2006-01-25 19:38:31
From: David Hawkins <hidden>
Date: 2006-01-25 19:38:31
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