mxc: i2c register mapped twice?

Richard Zhao richard.zhao at freescale.com
Thu Jan 6 07:26:12 EST 2011


Hi Sascha,

I just realized i2c registers are mapped twice. It's first static mapped at
mx5x_io_desc and second mapped in driver.
Drivers always feel happy to receive physical address in resource, and ioremap
it itself. We might static map too many register regions in machine level?
I'm sure it's not just i2c.

Thanks
Richard




More information about the linux-arm-kernel mailing list