ramips: remove ralink_default_fw_size_xxx variables
[oweals/openwrt.git] / target / linux / ramips / image / rt288x.mk
1 #
2 # RT288X Profiles
3 #
4
5 define Build/gemtek-header
6         if [ -f $@ ]; then \
7                 mkheader_gemtek $@ $@.new $(1) && \
8                 mv $@.new $@; \
9         fi
10 endef
11
12 define Device/airlink101_ar670w
13   MTK_SOC := rt2880
14   BLOCKSIZE := 64k
15   DEVICE_VENDOR := Airlink
16   DEVICE_MODEL := AR670W
17   IMAGE_SIZE := 3840k
18   KERNEL := $(KERNEL_DTB) | pad-to $$(BLOCKSIZE)
19   IMAGES += factory.bin
20   IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
21         wrg-header wrgn16a_airlink_ar670w
22   SUPPORTED_DEVICES += ar670w
23 endef
24 TARGET_DEVICES += airlink101_ar670w
25
26 define Device/airlink101_ar725w
27   MTK_SOC := rt2880
28   IMAGE_SIZE := 3776k
29   DEVICE_VENDOR := Airlink
30   DEVICE_MODEL := AR725W
31   IMAGES += factory.bin
32   IMAGE/factory.bin := $$(sysupgrade_bin) | check-size 3328k | \
33         gemtek-header ar725w
34   SUPPORTED_DEVICES += ar725w
35 endef
36 TARGET_DEVICES += airlink101_ar725w
37
38 define Device/asus_rt-n15
39   MTK_SOC := rt2880
40   BLOCKSIZE := 64k
41   IMAGE_SIZE := 3776k
42   DEVICE_VENDOR := Asus
43   DEVICE_MODEL := RT-N15
44   DEVICE_PACKAGES := kmod-switch-rtl8366s
45   SUPPORTED_DEVICES += rt-n15
46 endef
47 TARGET_DEVICES += asus_rt-n15
48
49 define Device/belkin_f5d8235-v1
50   MTK_SOC := rt2880
51   IMAGE_SIZE := 7872k
52   DEVICE_VENDOR := Belkin
53   DEVICE_MODEL := F5D8235
54   DEVICE_VARIANT := V1
55   DEVICE_PACKAGES := kmod-switch-rtl8366s kmod-usb-core kmod-usb-ohci \
56     kmod-usb-ohci-pci kmod-usb2 kmod-usb2-pci kmod-usb-ledtrig-usbport
57   SUPPORTED_DEVICES += f5d8235-v1
58 endef
59 TARGET_DEVICES += belkin_f5d8235-v1
60
61 define Device/buffalo_wli-tx4-ag300n
62   MTK_SOC := rt2880
63   BLOCKSIZE := 64k
64   IMAGE_SIZE := 3776k
65   DEVICE_VENDOR := Buffalo
66   DEVICE_MODEL := WLI-TX4-AG300N
67   DEVICE_PACKAGES := kmod-switch-ip17xx
68   SUPPORTED_DEVICES += wli-tx4-ag300n
69 endef
70 TARGET_DEVICES += buffalo_wli-tx4-ag300n
71
72 define Device/buffalo_wzr-agl300nh
73   MTK_SOC := rt2880
74   BLOCKSIZE := 64k
75   IMAGE_SIZE := 3776k
76   DEVICE_VENDOR := Buffalo
77   DEVICE_MODEL := WZR-AGL300NH
78   DEVICE_PACKAGES := kmod-switch-rtl8366s
79   SUPPORTED_DEVICES += wzr-agl300nh
80 endef
81 TARGET_DEVICES += buffalo_wzr-agl300nh
82
83 define Device/dlink_dap-1522-a1
84   MTK_SOC := rt2880
85   BLOCKSIZE := 64k
86   IMAGE_SIZE := 3801088
87   DEVICE_VENDOR := D-Link
88   DEVICE_MODEL := DAP-1522
89   DEVICE_VARIANT := A1
90   DEVICE_PACKAGES := kmod-switch-rtl8366s
91   KERNEL := $(KERNEL_DTB)
92   IMAGES += factory.bin
93   IMAGE/factory.bin := \
94         append-kernel | pad-offset $$$$(BLOCKSIZE) 96 | \
95         append-rootfs | pad-rootfs -x 96 | \
96         wrg-header wapnd01_dlink_dap1522 | \
97         check-size $$$$(IMAGE_SIZE)
98 endef
99 TARGET_DEVICES += dlink_dap-1522-a1
100
101 define Device/ralink_v11st-fe
102   MTK_SOC := rt2880
103   BLOCKSIZE := 64k
104   IMAGE_SIZE := 3776k
105   DEVICE_VENDOR := Ralink
106   DEVICE_MODEL := V11ST-FE
107   SUPPORTED_DEVICES += v11st-fe
108 endef
109 TARGET_DEVICES += ralink_v11st-fe