Skip to content

Commit 284f37e

Browse files
PIPIPIG233666robimarko
authored andcommitted
ipq60xx: define common Linksys MR devices configuration
ipq60xx series MR devices share some common attributes such as LED for USB port. Signed-off-by: Weikai Kong <[email protected]> Link: openwrt/openwrt#18185 Signed-off-by: Robert Marko <[email protected]>
1 parent 8e6c497 commit 284f37e

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

target/linux/qualcommax/image/ipq60xx.mk

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,24 @@ define Device/glinet_gl-axt1800
5454
endef
5555
TARGET_DEVICES += glinet_gl-axt1800
5656

57-
define Device/linksys_mr7350
57+
define Device/linksys_mr
5858
$(call Device/FitImage)
5959
DEVICE_VENDOR := Linksys
60-
DEVICE_MODEL := MR7350
61-
SOC := ipq6000
62-
NAND_SIZE := 256m
63-
KERNEL_SIZE := 8192k
6460
BLOCKSIZE := 128k
6561
PAGESIZE := 2048
66-
IMAGE_SIZE := 75776k
62+
KERNEL_SIZE := 8192k
6763
IMAGES += factory.bin
68-
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | \
69-
append-ubi | linksys-image type=MR7350
70-
DEVICE_PACKAGES := ipq-wifi-linksys_mr7350 \
71-
kmod-leds-pca963x kmod-usb-ledtrig-usbport
64+
IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | linksys-image type=$$$$(DEVICE_MODEL)
65+
DEVICE_PACKAGE := kmod-usb-ledtrig-usbport
66+
endef
67+
68+
define Device/linksys_mr7350
69+
$(call Device/linksys_mr)
70+
DEVICE_MODEL := MR7350
71+
NAND_SIZE := 256m
72+
IMAGE_SIZE := 75776k
73+
SOC := ipq6000
74+
DEVICE_PACKAGES += ipq-wifi-linksys_mr7350 kmod-leds-pca963x
7275
endef
7376
TARGET_DEVICES += linksys_mr7350
7477

0 commit comments

Comments
 (0)