kernel/spi: add kernel package for spi-omap-24xx
spi-omap-24xx can be found in TI based SoC like the beaglebone black Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
49cf356710
commit
297142464a
1 changed files with 17 additions and 0 deletions
|
@ -89,3 +89,20 @@ define KernelPackage/spi-dev/description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,spi-dev))
|
$(eval $(call KernelPackage,spi-dev))
|
||||||
|
|
||||||
|
define KernelPackage/spi-omap-24xx
|
||||||
|
SUBMENU:=$(SPI_MENU)
|
||||||
|
TITLE:=SPI omap 24xx
|
||||||
|
DEPENDS:=@(TARGET_omap24xx||TARGET_omap)
|
||||||
|
KCONFIG:=CONFIG_SPI_OMAP24XX \
|
||||||
|
CONFIG_SPI=y \
|
||||||
|
CONFIG_SPI_MASTER=y
|
||||||
|
FILES:=$(LINUX_DIR)/drivers/spi/spi-omap2-mcspi.ko
|
||||||
|
AUTOLOAD:=$(call AutoProbe,spi-omap2-mcspi)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/spi-dev/description
|
||||||
|
This package contains the user mode SPI device driver
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,spi-omap-24xx))
|
||||||
|
|
Loading…
Reference in a new issue