]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/spi/Kconfig
Kconfig: define missing symbol SPI and make DM_SPI depend on it
[karo-tx-uboot.git] / drivers / spi / Kconfig
index 7ae2727cf7eeff5205250f16fad1ec9061b0106b..3ce5a6b61638327f4b9ef51ab9eef1941edd79da 100644 (file)
@@ -1,6 +1,9 @@
+config SPI
+       bool "Enable SPI bus support"
+
 config DM_SPI
        bool "Enable Driver Model for SPI drivers"
-       depends on DM
+       depends on DM && SPI
        help
          Enable driver model for SPI. The SPI slave interface
          (spi_setup_slave(), spi_xfer(), etc.) is then implemented by