at91: reorganize at91 subtargets
[openwrt/staging/jogo.git] / target / linux / at91 / image / sama5d3.mk
1
2 define Device/default-nand
3 BLOCKSIZE := 128k
4 PAGESIZE := 2048
5 SUBPAGESIZE := 2048
6 MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 2048
7 endef
8
9 define Device/at91-sama5d3_xplained
10 $(Device/evaluation-dtb)
11 DEVICE_TITLE := Microchip(Atmel AT91) SAMA5D3 Xplained
12 KERNEL_SIZE := 6144k
13 $(Device/evaluation-sdimage)
14 endef
15 TARGET_DEVICES += at91-sama5d3_xplained
16
17 ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
18 ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
19 define Device/wb50n
20 $(Device/evaluation-fit)
21 DEVICE_TITLE := Laird WB50N
22 DEVICE_PACKAGES := \
23 kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
24 kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
25 kmod-leds-gpio
26 BLOCKSIZE := 128k
27 PAGESIZE := 2048
28 SUBPAGESIZE := 2048
29 MKUBIFS_OPTS := -m $$(PAGESIZE) -e 124KiB -c 955
30 endef
31 TARGET_DEVICES += wb50n
32 endif
33 endif