]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d38d804e105ce0a6647a5ec6eeefefd64d858fe
treeaeae618076d103966bb1790ef5fe467d2c5eff1b
parent352a8bfe9dc5ca16b9b81a017c54d858d5721384
powerpc/8xx: use the fixmapped IMMR in cpm_reset()

Since commit 9dbe94d2b4ce ("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