apm821xx: only install swconfig for needed devices

Only the wndap6x0 devices need swconfig because of the realtek switch.
Place swconfig there instead of for every device.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23985
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
This commit is contained in:
Rosen Penev authored and Jonas Jelonek committed 2026-07-01 09:40:06 +02:00
1 parent 8fd0289452
commit aef2523de1
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -23,7 +23,7 @@ endef
define Device/meraki_mr24
DEVICE_VENDOR := Cisco Meraki
DEVICE_MODEL := MR24
DEVICE_PACKAGES := kmod-spi-gpio kmod-phy-at803x -swconfig
DEVICE_PACKAGES := kmod-spi-gpio kmod-phy-at803x
BOARD_NAME := mr24
IMAGES := sysupgrade.bin
DEVICE_DTC_FLAGS := --space 64512
@@ -59,7 +59,7 @@ TARGET_DEVICES += meraki_mx60
define Device/netgear_wndap6x0
DEVICE_VENDOR := NETGEAR
DEVICE_PACKAGES := kmod-eeprom-at24
DEVICE_PACKAGES := kmod-eeprom-at24 swconfig
SUBPAGESIZE := 256
PAGESIZE := 512
BLOCKSIZE := 16k
+1 -1
View File
@@ -1,7 +1,7 @@
BOARDNAME:=Devices with NAND flash (Routers)
FEATURES += nand pcie
DEFAULT_PACKAGES += kmod-ath9k swconfig wpad-basic-mbedtls
DEFAULT_PACKAGES += kmod-ath9k wpad-basic-mbedtls
define Target/Description
Build firmware images for APM821XX boards with NAND flash.