mediatek: build btmtkuart as a kernel module
bluetooth on mt7622 needs a firmware to start. It can't be built-in or it tries to load firmware before rootfs is mounted, and then fails. build it as a kernel module to fix that. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
@@ -15,6 +15,18 @@ endef
|
||||
|
||||
$(eval $(call KernelPackage,ata-ahci-mtk))
|
||||
|
||||
define KernelPackage/btmtkuart
|
||||
SUBMENU:=Other modules
|
||||
TITLE:=MediaTek HCI UART driver
|
||||
DEPENDS:=@TARGET_mediatek_mt7622 +kmod-bluetooth +mt7622bt-firmware
|
||||
KCONFIG:=CONFIG_BT_MTKUART
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/bluetooth/btmtkuart.ko
|
||||
AUTOLOAD:=$(call AutoProbe,btmtkuart)
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,btmtkuart))
|
||||
|
||||
define KernelPackage/sdhci-mtk
|
||||
SUBMENU:=Other modules
|
||||
TITLE:=Mediatek SDHCI driver
|
||||
|
||||
Reference in New Issue
Block a user