aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bmips/image
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2023-04-09 10:40:56 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2023-04-09 10:52:32 +0200
commit8bee6a9f1df8caed264952ebdd360c57d8ceaa03 (patch)
treece8479e15264111ea6ec191dceb15fcfdcab41eb /target/linux/bmips/image
parent6e081e1778b728796f7d0461bbcc2606a18281ca (diff)
downloadupstream-8bee6a9f1df8caed264952ebdd360c57d8ceaa03.tar.gz
upstream-8bee6a9f1df8caed264952ebdd360c57d8ceaa03.tar.bz2
upstream-8bee6a9f1df8caed264952ebdd360c57d8ceaa03.zip
bmips: switch to LED kernel modules
Disable LED controllers from kernel config and switch to per device kernel modules. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bmips/image')
-rw-r--r--target/linux/bmips/image/bcm63xx_generic.mk12
-rw-r--r--target/linux/bmips/image/bcm63xx_nand.mk15
2 files changed, 18 insertions, 9 deletions
diff --git a/target/linux/bmips/image/bcm63xx_generic.mk b/target/linux/bmips/image/bcm63xx_generic.mk
index 33282bd1a5..2c832fe8ba 100644
--- a/target/linux/bmips/image/bcm63xx_generic.mk
+++ b/target/linux/bmips/image/bcm63xx_generic.mk
@@ -33,7 +33,8 @@ define Device/comtrend_ar-5315u
CHIP_ID := 6318
CFE_BOARD_ID := 96318A-1441N1
FLASH_MB := 16
- DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES) \
+ kmod-leds-bcm6328
endef
TARGET_DEVICES += comtrend_ar-5315u
@@ -44,7 +45,8 @@ define Device/comtrend_ar-5387un
CHIP_ID := 6328
CFE_BOARD_ID := 96328A-1441N1
FLASH_MB := 16
- DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES) \
+ kmod-leds-bcm6328
endef
TARGET_DEVICES += comtrend_ar-5387un
@@ -56,7 +58,8 @@ define Device/comtrend_vr-3025u
CFE_BOARD_ID := 96368M-1541N
BLOCKSIZE := 0x20000
FLASH_MB := 32
- DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES) \
+ kmod-leds-gpio
endef
TARGET_DEVICES += comtrend_vr-3025u
@@ -69,6 +72,7 @@ define Device/huawei_hg556a-b
CFE_BOARD_ID := HW556
CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
BLOCKSIZE := 0x20000
- DEVICE_PACKAGES += $(USB2_PACKAGES) $(ATH9K_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) $(ATH9K_PACKAGES) \
+ kmod-leds-gpio
endef
TARGET_DEVICES += huawei_hg556a-b
diff --git a/target/linux/bmips/image/bcm63xx_nand.mk b/target/linux/bmips/image/bcm63xx_nand.mk
index faed7a0919..732a5accdc 100644
--- a/target/linux/bmips/image/bcm63xx_nand.mk
+++ b/target/linux/bmips/image/bcm63xx_nand.mk
@@ -58,7 +58,8 @@ define Device/comtrend_vr-3032u
PAGESIZE := 2048
SUBPAGESIZE := 512
VID_HDR_OFFSET := 2048
- DEVICE_PACKAGES += $(USB2_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) \
+ kmod-leds-bcm6328
CFE_WFI_FLASH_TYPE := 3
CFE_WFI_VERSION := 0x5732
endef
@@ -80,7 +81,8 @@ define Device/huawei_hg253s-v2
PAGESIZE := 2048
SUBPAGESIZE := 512
VID_HDR_OFFSET := 2048
- DEVICE_PACKAGES += $(USB2_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) \
+ kmod-leds-bcm6328 kmod-leds-gpio
CFE_WFI_FLASH_TYPE := 3
endef
TARGET_DEVICES += huawei_hg253s-v2
@@ -96,7 +98,8 @@ define Device/netgear_dgnd3700-v2
CFE_RAM_JFFS2_PAD := 496k
BLOCKSIZE := 16k
PAGESIZE := 512
- DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) $(B43_PACKAGES) \
+ kmod-leds-bcm6328 kmod-leds-gpio
CFE_WFI_FLASH_TYPE := 2
CFE_WFI_VERSION := 0x5731
endef
@@ -115,7 +118,8 @@ define Device/sercomm_h500-s-lowi
PAGESIZE := 2048
SUBPAGESIZE := 512
VID_HDR_OFFSET := 2048
- DEVICE_PACKAGES += $(USB2_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) \
+ kmod-leds-bcm6328
SERCOMM_FSVER := 1001
SERCOMM_HWVER := 1434b31
SERCOMM_SWVER := 3305
@@ -135,7 +139,8 @@ define Device/sercomm_h500-s-vfes
PAGESIZE := 2048
SUBPAGESIZE := 512
VID_HDR_OFFSET := 2048
- DEVICE_PACKAGES += $(USB2_PACKAGES)
+ DEVICE_PACKAGES += $(USB2_PACKAGES) \
+ kmod-leds-bcm6328
SERCOMM_FSVER := 1001
SERCOMM_HWVER := 142584b
SERCOMM_SWVER := 3417