summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/image
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-05-18 15:48:57 +0200
committerFelix Fietkau <nbd@nbd.name>2016-05-19 15:13:29 +0200
commit311faaa1bdd28b67071b5c59ae37c47d5f4ffde1 (patch)
tree0d8e9e8990b7e201407f1531805cbd70251b9d17 /target/linux/lantiq/image
parentf2220bc1fec3653031cc91f5f4204e4ef44be6ee (diff)
downloadmtk-20170518-311faaa1bdd28b67071b5c59ae37c47d5f4ffde1.zip
mtk-20170518-311faaa1bdd28b67071b5c59ae37c47d5f4ffde1.tar.gz
mtk-20170518-311faaa1bdd28b67071b5c59ae37c47d5f4ffde1.tar.bz2
lantiq: move ubi/ubifs options to the image makefile
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/lantiq/image')
-rw-r--r--target/linux/lantiq/image/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/lantiq/image/Makefile b/target/linux/lantiq/image/Makefile
index bc74e4f..5f2956c 100644
--- a/target/linux/lantiq/image/Makefile
+++ b/target/linux/lantiq/image/Makefile
@@ -349,6 +349,9 @@ endif
ifeq ($(CONFIG_TARGET_lantiq_xway),y)
# Danube
+BTHOMEHUBV2B_UBIFS_OPTS:="-m 512 -e 15872 -c 1959"
+BTHOMEHUBV2B_UBI_OPTS:="-m 512 -p 16KiB -s 256"
+
Image/BuildKernel/Profile/BTHOMEHUBV2B=$(call Image/BuildKernel/Template,BTHOMEHUBV2B)
Image/Build/Profile/BTHOMEHUBV2B=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV2B)
@@ -372,6 +375,9 @@ $(eval $(call lantiqImage,GIGASX76X))
# AR9
+BTHOMEHUBV3A_UBIFS_OPTS:="-m 512 -e 15872 -c 1959"
+BTHOMEHUBV3A_UBI_OPTS:="-m 512 -p 16KiB -s 256"
+
Image/BuildKernel/Profile/BTHOMEHUBV3A=$(call Image/BuildKernel/Template,BTHOMEHUBV3A)
Image/Build/Profile/BTHOMEHUBV3A=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV3A)
@@ -397,20 +403,32 @@ endif
ifeq ($(CONFIG_TARGET_lantiq_xrx200),y)
# VR9
+P2812HNUF1_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
+P2812HNUF1_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
+
Image/BuildKernel/Profile/P2812HNUF1=$(call Image/BuildKernel/Template,P2812HNUF1)
Image/Build/Profile/P2812HNUF1=$(call Image/BuildNAND/$(1),$(1),P2812HNUF1)
+P2812HNUF3_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
+P2812HNUF3_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
+
Image/BuildKernel/Profile/P2812HNUF3=$(call Image/BuildKernel/Template,P2812HNUF3)
Image/Build/Profile/P2812HNUF3=$(call Image/BuildNAND/$(1),$(1),P2812HNUF3)
$(eval $(call lantiqImage,ARV7519RW22))
+BTHOMEHUBV5A_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
+BTHOMEHUBV5A_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
+
Image/BuildKernel/Profile/BTHOMEHUBV5A=$(call Image/BuildKernel/Template,BTHOMEHUBV5A)
Image/Build/Profile/BTHOMEHUBV5A=$(call Image/BuildNAND/$(1),$(1),BTHOMEHUBV5A)
$(eval $(call lantiqImage,EASY80920NAND))
$(eval $(call lantiqImage,EASY80920NOR))
+FRITZ3370_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
+FRITZ3370_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
+
Image/BuildKernel/Profile/FRITZ3370=$(call Image/BuildKernelEVA/Template,FRITZ3370)
Image/Build/Profile/FRITZ3370=$(call Image/BuildEVA/$(1),$(1),FRITZ3370)