]> 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>
Thu, 22 May 2014 01:01:55 +0000 (09:01 +0800)
commite25493531cef09aff6cbe0caeeb1bf60bd60cc50
tree8066c00d6feede0cb057348c6e04c5cd84a83378
parent92b936bc9ad808b7c3afa03b77af09296a5e74e5
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