Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79d8c7a8 authored by Alessandro Guido's avatar Alessandro Guido Committed by Linus Torvalds
Browse files

spi: use menuconfig for CONFIG_SPI

parent 608dfddd
Loading
Loading
Loading
Loading
+6 −7
Original line number Original line Diff line number Diff line
@@ -5,11 +5,9 @@
# nobody's needed a slave side API yet.  The master-role API is not
# nobody's needed a slave side API yet.  The master-role API is not
# fully appropriate there, so it'd need some thought to do well.
# fully appropriate there, so it'd need some thought to do well.
#
#
menu "SPI support"
menuconfig SPI
	depends on HAS_IOMEM

config SPI
	bool "SPI support"
	bool "SPI support"
	depends on HAS_IOMEM
	help
	help
	  The "Serial Peripheral Interface" is a low level synchronous
	  The "Serial Peripheral Interface" is a low level synchronous
	  protocol.  Chips that support SPI can have data transfer rates
	  protocol.  Chips that support SPI can have data transfer rates
@@ -28,9 +26,11 @@ config SPI
	  (half duplex), SSP, SSI, and PSP.  This driver framework should
	  (half duplex), SSP, SSI, and PSP.  This driver framework should
	  work with most such devices and controllers.
	  work with most such devices and controllers.


if SPI

config SPI_DEBUG
config SPI_DEBUG
	boolean "Debug support for SPI drivers"
	boolean "Debug support for SPI drivers"
	depends on SPI && DEBUG_KERNEL
	depends on DEBUG_KERNEL
	help
	help
	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
	  sysfs, and debugfs support in SPI controller and protocol drivers.
	  sysfs, and debugfs support in SPI controller and protocol drivers.
@@ -245,5 +245,4 @@ config SPI_TLE62X0


# (slave support would go here)
# (slave support would go here)


endmenu # "SPI support"
endif # SPI