powerpc/44x: Don't support 47x code and non 47x code at the same time
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sun, 18 Oct 2020 17:25:18 +0000 (17:25 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:34 +0000 (01:01 +1100)
commit1f69aa0b89240653fdf708aada6a3d968447cce7
tree2579ef0eaa9150ef9ffd52d54f98560c02f88ad9
parent8b8319b181fd9d6821703fef1228b4dcde613a16
powerpc/44x: Don't support 47x code and non 47x code at the same time

440/460 variants and 470 variants are not compatible, no
need to make code supporting both and using MMU features.

Just use CONFIG_PPC_47x to decide what to build.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c3e64da3d5d068c69a201e03bbae7da055761e5b.1603041883.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/entry_32.S
arch/powerpc/mm/nohash/tlb_low.S