kirkwood: add support for dockstar
[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 -U"
21 DOCKSTAR_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
22
23 $(eval $(call Profile,DOCKSTAR))
24
25 define Profile/IB62X0
26   NAME:=RaidSonic ICY BOX IB-NAS62x0
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/IB62X0/Description
34  Package set compatible with RaidSonic ICY BOX IB-NAS62x0 board.
35 endef
36
37 IB62X0_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096 -U"
38 IB62X0_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
39
40 $(eval $(call Profile,IB62X0))