at91: separate MKUBIFS opts to defaults in the sub target
[openwrt/staging/stintel.git] / target / linux / at91 / image / legacy.mk
index 7fe388135d5dd80fdd27f15061c3ddcc41dd7371..be8c2db21cd2108e241f662f1e166c932307fc46 100644 (file)
@@ -1,3 +1,10 @@
+define Device/default-nand
+  BLOCKSIZE := 128k
+  PAGESIZE := 2048
+  SUBPAGESIZE := 512
+  MKUBIFS_OPTS := -m $$(PAGESIZE) -e 126KiB -c 2048
+endef
+
 define Device/at91sam9263ek
   $(Device/evaluation-dtb)
   DEVICE_TITLE := Atmel AT91SAM9263-EK