[RFC 1/1] ARM: imx6q: move clock register map to machine_desc.map_io

Shawn Guo shawn.guo at freescale.com
Wed Nov 16 22:20:13 EST 2011


On Thu, Nov 17, 2011 at 10:56:53AM +0800, Eric Miao wrote:
> On Thu, Nov 17, 2011 at 9:50 AM, Richard Zhao <richard.zhao at linaro.org> wrote:
> > If the map is in machine_desc.timer.init, the registers will not be
> > able to access after bootup (probably after "Freeing init memory").
> 
> Given that devicemaps_init() does additional work after creating
> the mapping, flushing TLB and cache, machine_desc->map_io() is
> what I assume the best place for these static IO mappings than
> elsewhere.
> 
> Shawn?
> 
I'm still trying to understand what happened.  I do not understand
how the map can become unusable after "Freeing init memory".  Also
I can not reproduce the problem on my side.

-- 
Regards,
Shawn




More information about the linux-arm-kernel mailing list