From aec97b31ea38820403eb0e20f97ff8e544efe4e2 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Mon, 30 Aug 2021 00:18:53 +0200 Subject: [PATCH] ramips: provide default BLOCKSIZE for Device/seama The Device/seama shared definition requires BLOCKSIZE, so it should have a default value for this variable. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/image/Makefile | 1 + target/linux/ramips/image/mt7621.mk | 1 - target/linux/ramips/image/rt3883.mk | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index cd2c425cefaa..3671caef9dc6 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -182,6 +182,7 @@ define Device/netgear_sercomm_nor endef define Device/seama + BLOCKSIZE := 64k SEAMA_MTDBLOCK := 2 IMAGES += factory.bin diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index ea0c3fc61903..c115d04bd67b 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -360,7 +360,6 @@ TARGET_DEVICES += dlink_dir-853-r1 define Device/dlink_dir-860l-b1 $(Device/dsa-migration) $(Device/seama) - BLOCKSIZE := 64k SEAMA_SIGNATURE := wrgac13_dlink.2013gui_dir860lb LOADER_TYPE := bin KERNEL := kernel-bin | append-dtb | lzma | loader-kernel | relocate-kernel | \ diff --git a/target/linux/ramips/image/rt3883.mk b/target/linux/ramips/image/rt3883.mk index 148bfbbe4458..db4ffc83dfbc 100644 --- a/target/linux/ramips/image/rt3883.mk +++ b/target/linux/ramips/image/rt3883.mk @@ -97,7 +97,6 @@ TARGET_DEVICES += omnima_hpm define Device/samsung_cy-swr1100 $(Device/seama) SOC := rt3662 - BLOCKSIZE := 64k IMAGE_SIZE := 7872k KERNEL := $(KERNEL_DTB) SEAMA_SIGNATURE := wrgnd10_samsung_ss815 -- 2.30.2