]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: mpc8xx: Add GPIO dependency
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 2 Apr 2024 17:20:07 +0000 (19:20 +0200)
committerChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 18 Apr 2024 13:47:46 +0000 (15:47 +0200)
Since commit 773ad4ebb1d6 ("spi, mpc8xx: Add support for chipselect via
GPIO and fixups"), DM_GPIO is required for 8xx SPI.

Add the missing dependency to avoid build failures.

Fixes: 773ad4ebb1d6 ("spi, mpc8xx: Add support for chipselect via GPIO and fixups")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
drivers/spi/Kconfig

index 69b184b0d9eebb79fa5da67d33441dc289de5ba3..612434633b35049d9ce37b98543e42665c435263 100644 (file)
@@ -262,7 +262,7 @@ config MESON_SPIFC_A1
 
 config MPC8XX_SPI
        bool "MPC8XX SPI Driver"
-       depends on MPC8xx
+       depends on MPC8xx && DM_GPIO
        help
          Enable support for SPI on MPC8XX