aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2021-02-24 22:03:39 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2021-03-14 15:03:00 +0100
commitc6c8d597e18300cd679bf5ea88a46ed18709da01 (patch)
treea0e035c44b55e286147a057589373845b471e94f /target/linux
parent41a8f093fb26f372fc94e0016cf544ac65718b0b (diff)
downloadupstream-c6c8d597e18300cd679bf5ea88a46ed18709da01.tar.gz
upstream-c6c8d597e18300cd679bf5ea88a46ed18709da01.tar.bz2
upstream-c6c8d597e18300cd679bf5ea88a46ed18709da01.zip
realtek: Add generic zyxel_gs1900 image definition
Add a new common device definition for the Zyxel GS1900 line of switches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/realtek/image/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/target/linux/realtek/image/Makefile b/target/linux/realtek/image/Makefile
index 424726c8a9..759653d4b5 100644
--- a/target/linux/realtek/image/Makefile
+++ b/target/linux/realtek/image/Makefile
@@ -84,37 +84,37 @@ define Device/netgear_gs110tpp-v1
endef
TARGET_DEVICES += netgear_gs110tpp-v1
-define Device/zyxel_gs1900-10hp
+define Device/zyxel_gs1900
SOC := rtl8380
IMAGE_SIZE := 6976k
DEVICE_VENDOR := ZyXEL
- DEVICE_MODEL := GS1900-10HP
UIMAGE_MAGIC := 0x83800000
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers AAZI | uImage gzip
+ KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers $$$$(ZYXEL_VERS) | \
+ uImage gzip
+endef
+
+define Device/zyxel_gs1900-10hp
+ $(Device/zyxel_gs1900)
+ DEVICE_MODEL := GS1900-10HP
+ ZYXEL_VERS := AAZI
endef
TARGET_DEVICES += zyxel_gs1900-10hp
define Device/zyxel_gs1900-8hp-v1
- SOC := rtl8380
- IMAGE_SIZE := 6976k
- DEVICE_VENDOR := ZyXEL
+ $(Device/zyxel_gs1900)
DEVICE_MODEL := GS1900-8HP
DEVICE_VARIANT := v1
+ ZYXEL_VERS := AAHI
DEVICE_PACKAGES += lua-rs232
- UIMAGE_MAGIC := 0x83800000
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers AAHI | uImage gzip
endef
TARGET_DEVICES += zyxel_gs1900-8hp-v1
define Device/zyxel_gs1900-8hp-v2
- SOC := rtl8380
- IMAGE_SIZE := 6976k
- DEVICE_VENDOR := ZyXEL
+ $(Device/zyxel_gs1900)
DEVICE_MODEL := GS1900-8HP
DEVICE_VARIANT := v2
+ ZYXEL_VERS := AAHI
DEVICE_PACKAGES += lua-rs232
- UIMAGE_MAGIC := 0x83800000
- KERNEL_INITRAMFS := kernel-bin | append-dtb | gzip | zyxel-vers AAHI | uImage gzip
endef
TARGET_DEVICES += zyxel_gs1900-8hp-v2