From 7d97fdf5ef71c1c171f8c01dee2c0c1695741bdf Mon Sep 17 00:00:00 2001 From: Tobias Schramm Date: Tue, 3 Dec 2019 22:39:01 +0100 Subject: [PATCH] ath79: add support for Ubiquiti SW devices SW devices are Ubiquit ToughSwitch and EdgeSwitch series devices. Hardware-wise they are very similar to the XM device series. Signed-off-by: Tobias Schramm --- target/linux/ath79/image/generic-ubnt.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk index 05847cc3a2..f6546f369e 100644 --- a/target/linux/ath79/image/generic-ubnt.mk +++ b/target/linux/ath79/image/generic-ubnt.mk @@ -47,6 +47,18 @@ define Device/ubnt-bz UBNT_VERSION := 6.0.0 endef +define Device/ubnt-sw + $(Device/ubnt) + SOC := ar7242 + DEVICE_PACKAGES += kmod-usb-ohci + IMAGE_SIZE := 7552k + UBNT_BOARD := SW + UBNT_CHIP := ar7240 + UBNT_TYPE := SW + UBNT_VERSION := 1.4.1 + KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | uImage lzma +endef + define Device/ubnt-wa $(Device/ubnt) SOC := ar9342 -- 2.25.1