summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/cpu_specs.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-09-19 19:01:32 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-26 23:00:05 +1000
commitd7216567c65cbed655f9bf87ef906f9246d6f698 (patch)
treeae1dddf7625bcf87d1d59a71de9cbd39834bea4f /arch/powerpc/kernel/cpu_specs.h
parentdfc3095cec27f402c183da920f4733785e4c873d (diff)
powerpc/cputable: Split cpu_specs[] for mpc85xx and e500mc
e500v1/v2 and e500mc are said to be mutually exclusive in Kconfig. Split e500 cpu_specs[] and then restrict the non e500mc to PPC32 which is then 85xx. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> [mpe: Tweak formatting] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/553b901ea91e393df231103da4b018e9b251b0e9.1663606876.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/cpu_specs.h')
-rw-r--r--arch/powerpc/kernel/cpu_specs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/cpu_specs.h b/arch/powerpc/kernel/cpu_specs.h
index 658c68acf96e..85ded3f77204 100644
--- a/arch/powerpc/kernel/cpu_specs.h
+++ b/arch/powerpc/kernel/cpu_specs.h
@@ -14,8 +14,10 @@
#include "cpu_specs_8xx.h"
#endif
-#ifdef CONFIG_E500
-#include "cpu_specs_e500.h"
+#ifdef CONFIG_PPC_E500MC
+#include "cpu_specs_e500mc.h"
+#elif defined(CONFIG_PPC_85xx)
+#include "cpu_specs_85xx.h"
#endif
#ifdef CONFIG_PPC_BOOK3S_32