powerpc/64: Add GENERIC_CPU support for little endian
authorNicholas Piggin <npiggin@gmail.com>
Tue, 20 Feb 2018 19:08:30 +0000 (05:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 1 Apr 2018 11:52:52 +0000 (21:52 +1000)
commita73657ea19aeb92f98438263d42f90188f115d58
tree7971c9025369b30fab25b416136f40bd24961bbf
parent471d7ff8b51b63521c8ea35c51966ab4caa434ee
powerpc/64: Add GENERIC_CPU support for little endian

Add GENERIC_CPU support for little-endian rather than using POWER8
specific selection for POWER9 and above.

Restrict GENERIC_CPU to POWER8 and above on little endian.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Duplicate GENERIC_CPU to avoid a kbuild warning about the prompt
      being redefined. Spell out that GENERIC means >= POWER4 for BE.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile
arch/powerpc/platforms/Kconfig.cputype