Openwrt/target/linux/bcm53xx/modules.mk
Daniel Golle 37ef2197e6 kernel: move kmod-i2c-bcm-iproc to I2C menu
A typo resulted in that module having it's own menu.
Move it into the I2C menu as it was most likely intended.

Fixes: 1291274335 ("kernel: package bcm53xx i2c module")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-30 15:47:52 +00:00

53 lines
1.5 KiB
Makefile

#
# Copyright (C) 2016 Rafał Miłecki <rafal@milecki.pl>
#
# This is free software, licensed under the GNU General Public License v2.
#
define KernelPackage/phy-bcm-ns-usb2
TITLE:=Broadcom Northstar USB 2.0 PHY Driver
KCONFIG:=CONFIG_PHY_BCM_NS_USB2
DEPENDS:=@TARGET_bcm53xx
SUBMENU:=$(USB_MENU)
FILES:=$(LINUX_DIR)/drivers/phy/broadcom/phy-bcm-ns-usb2.ko
AUTOLOAD:=$(call AutoLoad,45,phy-bcm-ns-usb2,1)
endef
define KernelPackage/phy-bcm-ns-usb2/description
Support for Broadcom USB 2.0 PHY connected to the USB controller on Northstar
family.
endef
$(eval $(call KernelPackage,phy-bcm-ns-usb2))
define KernelPackage/phy-bcm-ns-usb3
TITLE:=Broadcom Northstar USB 3.0 PHY Driver
KCONFIG:=CONFIG_PHY_BCM_NS_USB3
DEPENDS:=@TARGET_bcm53xx
SUBMENU:=$(USB_MENU)
FILES:=$(LINUX_DIR)/drivers/phy/broadcom/phy-bcm-ns-usb3.ko
AUTOLOAD:=$(call AutoLoad,45,phy-bcm-ns-usb3,1)
endef
define KernelPackage/phy-bcm-ns-usb3/description
Support for Broadcom USB 3.0 PHY connected to the USB controller on Northstar
family.
endef
$(eval $(call KernelPackage,phy-bcm-ns-usb3))
define KernelPackage/i2c-bcm-iproc
TITLE:=Broadcom iProc I2C controller
KCONFIG:=CONFIG_I2C_BCM_IPROC
DEPENDS:=@TARGET_bcm53xx +kmod-i2c-core
SUBMENU:=$(I2C_MENU)
FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-bcm-iproc.ko
AUTOLOAD:=$(call AutoLoad,59,i2c-bcm-iproc,1)
endef
define KernelPackage/i2c-bcm-iproc/description
Kernel module for the Broadcom iProc I2C controller.
endef
$(eval $(call KernelPackage,i2c-bcm-iproc))