Просмотр исходного кода

at91: Add UBI parameters for sama5d4.

Add UBIFS_OPTS & UBINIZE_OPTS parameters for sama5d4 Xplained board.

Signed-off-by: Sandeep Sheriker Mallikarjun <[email protected]>
Sandeep Sheriker Mallikarjun 8 лет назад
Родитель
Сommit
09bf441090
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      target/linux/at91/image/Makefile

+ 6 - 1
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