kernel: bluetooth: add marvell sdio bluetooth module

This commit add support for Marvell bluetooth with SDIO interface.

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
[Fix KCONFIG and FILES option]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Henryk Heisig 2017-07-07 09:43:10 +02:00 committed by Hauke Mehrtens
parent 8637110189
commit a5922f6c46

View File

@ -114,6 +114,27 @@ endef
$(eval $(call KernelPackage,bluetooth_6lowpan)) $(eval $(call KernelPackage,bluetooth_6lowpan))
define KernelPackage/btmrvl
SUBMENU:=$(OTHER_MENU)
TITLE:=Marvell Bluetooth Kernel Module support
DEPENDS:=+kmod-bluetooth +mwifiex-sdio-firmware
KCONFIG:= \
CONFIG_BT_MRVL \
CONFIG_BT_MRVL_SDIO
$(call AddDepends/bluetooth)
FILES:= \
$(LINUX_DIR)/drivers/bluetooth/btmrvl.ko \
$(LINUX_DIR)/drivers/bluetooth/btmrvl_sdio.ko
AUTOLOAD:=$(call AutoProbe,btmrvl btmrvl_sdio)
endef
define KernelPackage/btmrvl/description
Kernel support for Marvell SDIO Bluetooth Module
endef
$(eval $(call KernelPackage,btmrvl))
define KernelPackage/dma-buf define KernelPackage/dma-buf
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=DMA shared buffer support TITLE:=DMA shared buffer support