linux/arch/powerpc/kernel/cpu_specs.h
Christophe Leroy d7216567c6 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
2022-09-26 23:00:05 +10:00

30 lines
528 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifdef CONFIG_40x
#include "cpu_specs_40x.h"
#endif
#ifdef CONFIG_PPC_47x
#include "cpu_specs_47x.h"
#elif defined(CONFIG_44x)
#include "cpu_specs_44x.h"
#endif
#ifdef CONFIG_PPC_8xx
#include "cpu_specs_8xx.h"
#endif
#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
#include "cpu_specs_book3s_32.h"
#endif
#ifdef CONFIG_PPC_BOOK3S_64
#include "cpu_specs_book3s_64.h"
#endif