at91: add support for the WB50N module from Laird
[openwrt/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
32
33 define Device/wb50n
34 $(Device/evaluation-fit)
35 DEVICE_TITLE := Laird WB50N
36 DEVICE_PACKAGES := \
37 kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
38 kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
39 kmod-leds-gpio
40 BLOCKSIZE := 128k
41 PAGESIZE := 2048
42 SUBPAGESIZE := 2048
43 MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 955
44 endef
45 TARGET_DEVICES += wb50n