]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
m68k: coldfire: select legacy gpiolib interface for mcfqspi
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Apr 2026 15:57:19 +0000 (17:57 +0200)
committerGreg Ungerer <gerg@kernel.org>
Mon, 8 Jun 2026 03:15:17 +0000 (13:15 +1000)
The common coldfire code uses the old GPIO number based interfaces for
at least the QSPI chipselect lines. Select the required Kconfig symbol
to keep it building when that becomes optional.

Apparently there are no devices attached to a QSPI controller in any of
the coldfire boards, so this is not actually used in upstream kernels.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
arch/m68k/Kconfig.cpu

index c9a7e602d8a4da8e5094762e90c7b1a1ab1acfdf..148f8a79d20682c1e0341e28597107f37fd5d878 100644 (file)
@@ -30,6 +30,7 @@ config COLDFIRE
        select CPU_HAS_NO_MULDIV64
        select GENERIC_CSUM
        select GPIOLIB
+       select GPIOLIB_LEGACY if SPI_COLDFIRE_QSPI
        select HAVE_LEGACY_CLK
        select HAVE_PAGE_SIZE_8KB if !MMU