OSDN Git Service

powerpc/corenet: Add PPC_QEMU_E500 to corenet configs
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 11 Apr 2023 10:28:38 +0000 (20:28 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 03:21:48 +0000 (13:21 +1000)
commit9ab9de2f3aa99ab6245203236d66a057d73b7e9f
treef6d81941c3a286d681a1e38f02fb229f43e14da3
parentad46ad2d853daf082f742c9654da84e3d2a46765
powerpc/corenet: Add PPC_QEMU_E500 to corenet configs

Add PPC_QEMU_E500 to corenet_base.config, which is then used to generate
corenet64_smp_defconfig and corenet32_smp_defconfig.

That then allows both those configs to build kernels that boot in qemu
using the ppce500 machine type and respectively -cpu e5500 or -cpu
e500mc.

The code that is added by PPC_QEMU_E500 just defines another machine
with a probe function that recognises qemu, so there should be no change
when booting on actual hardware supported by CORENET_GENERIC.

The increase in vmlinux size is less than 1KB.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230411102838.512859-1-mpe@ellerman.id.au
arch/powerpc/configs/corenet_base.config