From: Sandeep Sheriker Mallikarjun Date: Wed, 13 Sep 2017 18:51:18 +0000 (-0700) Subject: at91: Add UBI parameters for sama5d4. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09bf44109043811eba45e2113307be23cb45ea8a;p=openwrt%2Fstaging%2Fkaloz.git at91: Add UBI parameters for sama5d4. Add UBIFS_OPTS & UBINIZE_OPTS parameters for sama5d4 Xplained board. Signed-off-by: Sandeep Sheriker Mallikarjun --- diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile index 99c7e21669..93337097c0 100644 --- a/target/linux/at91/image/Makefile +++ b/target/linux/at91/image/Makefile @@ -16,7 +16,12 @@ endif ifeq ($(SUBTARGET),sama5) include ./sama5.mk -UBIFS_OPTS := -m 2048 -e 124KiB -c 2048 +ifeq ($(TARGET_DEVICES),at91-sama5d4_xplained) + UBIFS_OPTS := -e 0x3e000 -c 2082 -m 0x1000 -x lzo + UBINIZE_OPTS := -m 0x1000 -p 0x40000 +else + UBIFS_OPTS := -m 2048 -e 124KiB -c 2048 +endif endif define Device/Default