powerpc/8xx: use the fixmapped IMMR in cpm_reset()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 12 Sep 2019 13:29:07 +0000 (13:29 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 19 Nov 2019 08:38:35 +0000 (19:38 +1100)
commiteafd687e689acd99d780e468d6a0622f4694d0bc
treeaeae618076d103966bb1790ef5fe467d2c5eff1b
parent132f92fdc42782fd297e076ef74bedeb8ce774e4
powerpc/8xx: use the fixmapped IMMR in cpm_reset()

Since commit f86ef74ed919 ("powerpc/8xx: Fix vaddr for IMMR early
remap"), the IMMR area has been mapped at startup with fixmap.

Use that fixmap directly instead of calling ioremap(), this
avoids calling ioremap() early before the slab is available.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/f816ccdbd15b97cf43c5a8c7cc8dfa8db58ff036.1568294935.git.christophe.leroy@c-s.fr
arch/powerpc/platforms/8xx/cpm1.c