From: Michael Ellerman Date: Tue, 11 Apr 2023 10:28:38 +0000 (+1000) Subject: powerpc/corenet: Add PPC_QEMU_E500 to corenet configs X-Git-Tag: v6.6.7~2957^2~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ab9de2f3aa99ab6245203236d66a057d73b7e9f;p=platform%2Fkernel%2Flinux-starfive.git 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 Link: https://msgid.link/20230411102838.512859-1-mpe@ellerman.id.au --- diff --git a/arch/powerpc/configs/corenet_base.config b/arch/powerpc/configs/corenet_base.config index b568d46..1c40de1 100644 --- a/arch/powerpc/configs/corenet_base.config +++ b/arch/powerpc/configs/corenet_base.config @@ -1 +1,2 @@ CONFIG_CORENET_GENERIC=y +CONFIG_PPC_QEMU_E500=y