diff options
author | Arnd Bergmann <arnd@arndb.de> | 2024-10-30 20:56:14 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2024-11-06 15:10:14 +0100 |
commit | 4760df6c170792054d6473a2850bc2af9188ea33 (patch) | |
tree | 3b92c0804dfa9978f2e1fd13fb087f6e947e39cc /arch/m68k | |
parent | 5d42a685734ca9ef8802a745c55e28d417dbe254 (diff) |
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>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/Kconfig.cpu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig.cpu b/arch/m68k/Kconfig.cpu index e7b5f6b55947..c9a7e602d8a4 100644 --- a/arch/m68k/Kconfig.cpu +++ b/arch/m68k/Kconfig.cpu @@ -21,6 +21,7 @@ choice config M68KCLASSIC bool "Classic M68K CPU/machine family support" select HAVE_ARCH_PFN_VALID + select M68020 if MMU && !(M68030 || M68040 || M68060) config COLDFIRE bool "Coldfire CPU family support" |