[openwrt/openwrt] ramips: provide default BLOCKSIZE for Device/seama

LEDE Commits lede-commits at lists.infradead.org
Sun Aug 29 15:38:32 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/aec97b31ea38820403eb0e20f97ff8e544efe4e2

commit aec97b31ea38820403eb0e20f97ff8e544efe4e2
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Mon Aug 30 00:18:53 2021 +0200

    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 <freifunk at adrianschmutzler.de>
---
 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 cd2c425cef..3671caef9d 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 ea0c3fc619..c115d04bd6 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 148bfbbe44..db4ffc83df 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



More information about the lede-commits mailing list