diff mbox series

[LEDE-DEV,LEDE-DEV,v2,06/11] at91: Add UBI parameters for sama5d4.

Message ID 2d9ba0118fcc5f5b96eb97175918271f0fc7aed8.1505328596.git.sandeepsheriker.mallikarjun@microchip.com
State Accepted
Headers show
Series [LEDE-DEV,LEDE-DEV,v2,01/11] at91: Renaming subtarget sama5d3 to sama5 | expand

Commit Message

Sandeep Sheriker Sept. 13, 2017, 6:51 p.m. UTC
Add UBIFS_OPTS & UBINIZE_OPTS parameters for sama5d4 Xplained board.

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
---
 target/linux/at91/image/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/target/linux/at91/image/Makefile b/target/linux/at91/image/Makefile
index 99c7e21..9333709 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