Skip to content

Commit 4760df6

Browse files
arndbgeertu
authored andcommitted
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>
1 parent 5d42a68 commit 4760df6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/m68k/Kconfig.cpu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ choice
2121
config M68KCLASSIC
2222
bool "Classic M68K CPU/machine family support"
2323
select HAVE_ARCH_PFN_VALID
24+
select M68020 if MMU && !(M68030 || M68040 || M68060)
2425

2526
config COLDFIRE
2627
bool "Coldfire CPU family support"

0 commit comments

Comments
 (0)