From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Thu, 17 Nov 2011 08:38:34 +0000 Subject: [RFC 1/1] ARM: imx6q: move clock register map to machine_desc.map_io In-Reply-To: References: <1321494612-24795-1-git-send-email-richard.zhao@linaro.org> Message-ID: <20111117083834.GJ9581@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Nov 17, 2011 at 10:56:53AM +0800, Eric Miao wrote: > On Thu, Nov 17, 2011 at 9:50 AM, Richard Zhao 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. The _only_ place.