at91: separate MKUBIFS opts to defaults in the sub target
[openwrt/.git] / target / linux / at91 / image / sama5.mk
1 define Device/default-nand
2   BLOCKSIZE := 128k
3   PAGESIZE := 2048
4   SUBPAGESIZE := 2048
5   MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 2048
6 endef
7
8 define Device/at91-sama5d3_xplained
9   $(Device/evaluation-dtb)
10   DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D3 Xplained
11   KERNEL_SIZE := 6144k
12 endef
13 TARGET_DEVICES += at91-sama5d3_xplained
14
15 define Device/at91-sama5d2_xplained
16   $(Device/evaluation-dtb)
17   DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D2 Xplained
18   KERNEL_SIZE := 6144k
19 endef
20 TARGET_DEVICES += at91-sama5d2_xplained
21
22 define Device/at91-sama5d4_xplained
23   $(Device/evaluation-dtb)
24   DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D4 Xplained
25   KERNEL_SIZE := 6144k
26   BLOCKSIZE := 256k
27   PAGESIZE := 4096
28   SUBPAGESIZE := 2048
29   MKUBIFS_OPTS := -m $$(PAGESIZE) -e 248KiB -c 2082 -x lzo
30 endef
31 TARGET_DEVICES += at91-sama5d4_xplained