From a5922f6c46dac91631714f3df491966bfe245b55 Mon Sep 17 00:00:00 2001 From: Henryk Heisig Date: Fri, 7 Jul 2017 09:43:10 +0200 Subject: [PATCH] kernel: bluetooth: add marvell sdio bluetooth module This commit add support for Marvell bluetooth with SDIO interface. Signed-off-by: Henryk Heisig [Fix KCONFIG and FILES option] Signed-off-by: Hauke Mehrtens --- package/kernel/linux/modules/other.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index e4b2064dc46..1909888e63c 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -114,6 +114,27 @@ endef $(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 SUBMENU:=$(OTHER_MENU) TITLE:=DMA shared buffer support