]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx5: use dynamic mapping for DPLL block
authorShawn Guo <shawn.guo@freescale.com>
Tue, 20 May 2014 05:08:45 +0000 (13:08 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 17 Jun 2014 13:14:24 +0000 (21:14 +0800)
commitb9d5719398acea9b17b8d74b38b19c8e00ac1498
treef3c76299d99e1fb068e388398cd29799f47956de
parent598dde5d757caae59ddfc6f3166d979bec75ab11
ARM: imx5: use dynamic mapping for DPLL block

Replace the static mapping of DPLL block with dynamic mapping by
calling ioremap().  Ideally, this should be done by calling of_iomap(),
so that the physical address of DPLL can also be retrieved from device
tree.  But unfortunately, DPLL blocks are not defined in DT in the first
place.  So to maintain the compatibility of existing DTB, we use
ioremap() with physical address defines in the code.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/clk-imx51-imx53.c