]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - drivers/spi/Kconfig
Kconfig: define missing symbol SPI and make DM_SPI depend on it
[karo-tx-uboot.git] / drivers / spi / Kconfig
1 config SPI
2         bool "Enable SPI bus support"
3
4 config DM_SPI
5         bool "Enable Driver Model for SPI drivers"
6         depends on DM && SPI
7         help
8           Enable driver model for SPI. The SPI slave interface
9           (spi_setup_slave(), spi_xfer(), etc.) is then implemented by
10           the SPI uclass. Drivers provide methods to access the SPI
11           buses that they control. The uclass interface is defined in
12           include/spi.h. The existing spi_slave structure is attached
13           as 'parent data' to every slave on each bus. Slaves
14           typically use driver-private data instead of extending the
15           spi_slave structure.