Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

m68k: Select M68020 as fallback for classic

Building without a CPU selected does not work.

Change the Kconfig logic slightly to make sure we always pick M68020 if
nothing else is enabled. There are still some intentional warnings for
builds with all platforms disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/20241030195638.22542-2-arnd@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

authored by

Arnd Bergmann and committed by
Geert Uytterhoeven
4760df6c 5d42a685

+1
+1
arch/m68k/Kconfig.cpu
··· 21 21 config M68KCLASSIC 22 22 bool "Classic M68K CPU/machine family support" 23 23 select HAVE_ARCH_PFN_VALID 24 + select M68020 if MMU && !(M68030 || M68040 || M68060) 24 25 25 26 config COLDFIRE 26 27 bool "Coldfire CPU family support"