]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Kconfig: define missing symbol SPI and make DM_SPI depend on it
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 2 Sep 2015 08:22:54 +0000 (10:22 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 2 Sep 2015 08:22:54 +0000 (10:22 +0200)
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