powerpc/8xx: refactor programming of microcode CPM params.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 14 Jun 2019 06:41:44 +0000 (06:41 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 4 Jul 2019 16:06:37 +0000 (02:06 +1000)
commitf5348c080e07bc7ce8f6a6c110bd2672f915c6b1
tree08b4a0984602df394a373f0a5f78b323ed82ef5d
parent5cfd5d8943fc9eb48030a7904e82c6e7d2056027
powerpc/8xx: refactor programming of microcode CPM params.

The CPM registers RCCR and CPMCR1..4 registers has to be set in
accordance with the microcode patch beeing programmed. Lets
define them as part of the patch set and refactor their
programming from that definition.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/8xx/micropatch.c