powerpc, 8xx: move get_immr() into C
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 13 Jul 2017 13:10:02 +0000 (15:10 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 23 Jul 2017 02:22:50 +0000 (22:22 -0400)
commit7fd697fd54eabd3cfe28414d9c05f65c8cfd9585
treeb646f2930b9555bca9e8733ed902773d2d1c9fff
parent1e7cefef585c972ed40e016ba8739f5c5091254b
powerpc, 8xx: move get_immr() into C

Avoid unnecessary assembly functions when they can easily be written
in C.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
arch/powerpc/cpu/mpc8xx/start.S
arch/powerpc/include/asm/ppc.h