diff options
author | Sander Vanheule <sander@svanheule.net> | 2022-12-28 21:39:46 +0100 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2022-12-28 22:44:10 +0100 |
commit | 045baca10b157fcc57461392cf27838d147ae5bd (patch) | |
tree | c3b72a5765452f61244058c1dc178e04f5728c6a /target/linux/realtek/image/common.mk | |
parent | 1e13081064113eb41ed62118bc49283b8c809eb8 (diff) | |
download | upstream-045baca10b157fcc57461392cf27838d147ae5bd.tar.gz upstream-045baca10b157fcc57461392cf27838d147ae5bd.tar.bz2 upstream-045baca10b157fcc57461392cf27838d147ae5bd.zip |
realtek: deduplicate GS1900 recipes
ZyXEL GS1900 devices with SoCs from both the RTL838x and RTL839x
families share the same image structure and size of the firmware
partition. Additionally, the GS1900-48 recipe provided a parameter for
the zyxel-vers command, but this parameter is not used. Deduplicate the
recipes by moving it to target/linux/realtek/image/common.mk.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'target/linux/realtek/image/common.mk')
-rw-r--r-- | target/linux/realtek/image/common.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/realtek/image/common.mk b/target/linux/realtek/image/common.mk index 0c51529569..702158978f 100644 --- a/target/linux/realtek/image/common.mk +++ b/target/linux/realtek/image/common.mk @@ -52,3 +52,15 @@ define Device/hpe_1920 check-size | \ append-metadata endef + +define Device/zyxel_gs1900 + DEVICE_VENDOR := ZyXEL + IMAGE_SIZE := 6976k + UIMAGE_MAGIC := 0x83800000 + KERNEL_INITRAMFS := \ + kernel-bin | \ + append-dtb | \ + gzip | \ + zyxel-vers | \ + uImage gzip +endef |