[PATCH] clk: Add axi-clkgen driver

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Jan 23 05:27:55 EST 2013


On Wed, Jan 23, 2013 at 11:00:56AM +0100, Lars-Peter Clausen wrote:
> I think I read somewhere at some point that ioread{8,16,32} is preferred
> over write{b,h,l} in new code.

But... there's *no* point using ioread*() if you don't only use the
ioremap() interface.

ioread*() is there to allow PC IO and PC MMIO accesses through one
accessor depending on the cookie.  ioremap() only ever returns cookies
for MMIO accesses.



More information about the linux-arm-kernel mailing list