kirkwood: add support for Seagate GoFlexNet
[openwrt.git] / target / linux / kirkwood / profiles / 110-nas.mk
1 #
2 # Copyright (C) 2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define Profile/DOCKSTAR
9   NAME:=Seagate FreeAgent Dockstar
10   PACKAGES:= \
11         kmod-ata-core kmod-ata-marvell-sata \
12         kmod-rtc-marvell kmod-usb2 kmod-usb-storage \
13         uboot-envtools
14 endef
15
16 define Profile/DOCKSTAR/Description
17  Package set compatible with Seagate FreeAgent Dockstar board.
18 endef
19
20 DOCKSTAR_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
21 DOCKSTAR_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
22
23 $(eval $(call Profile,DOCKSTAR))
24
25 define Profile/GOFLEXNET
26   NAME:=Seagate GoFlexNet
27   PACKAGES:= \
28         kmod-ata-core kmod-ata-marvell-sata \
29         kmod-rtc-marvell kmod-usb2 kmod-usb-storage \
30         uboot-envtools
31 endef
32
33 define Profile/GOFLEXNET/Description
34  Package set compatible with Seagate GoFlexNet
35 endef
36
37 GOFLEXNET_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
38 GOFLEXNET_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
39
40 $(eval $(call Profile,GOFLEXNET))
41
42 define Profile/IB62X0
43   NAME:=RaidSonic ICY BOX IB-NAS62x0
44   PACKAGES:= \
45         kmod-ata-core kmod-ata-marvell-sata \
46         kmod-rtc-marvell kmod-usb2 kmod-usb-storage \
47         uboot-envtools
48 endef
49
50 define Profile/IB62X0/Description
51  Package set compatible with RaidSonic ICY BOX IB-NAS62x0 board.
52 endef
53
54 IB62X0_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
55 IB62X0_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
56
57 $(eval $(call Profile,IB62X0))
58
59 define Profile/ICONNECT
60   NAME:=Iomega Iconnect
61   PACKAGES:= \
62         kmod-usb2 kmod-usb-storage
63 endef
64
65 define Profile/ICONNECT/Description
66  Package set compatible with Iomega Iconnect board.
67 endef
68
69 ICONNECT_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
70 ICONNECT_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
71
72 $(eval $(call Profile,ICONNECT))