imx6: reorganize build system
[openwrt/openwrt.git] / target / linux / imx6 / profiles / 120-gateworks.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/IMX6Q_GW5400_A
9 NAME:=Gateworks Ventana GW5400-A
10 PACKAGES:= \
11 kmod-thermal-imx kmod-usb-chipidea kmod-usb-mxs-phy
12 endef
13
14 define Profile/IMX6Q_GW5400_A/Description
15 The Gateworks GW5400-A family of products is based on the Freescale i.MX6Q SoC
16 and offers a large variety of peripherals such as:
17
18 * DDR3
19 * SPI FLASH
20 * 6x PCIe (3x with USB)
21 * Optional expansion for additional USB/PCI based periperhals
22 * 1x USB EHCI
23 * 1x USB OTG
24 * HDMI Audio/Video in/out
25 * Analog Video in/out
26 * Analog Audio in/out
27 * Gateworks System Controller
28 endef
29
30 $(eval $(call Profile,IMX6Q_GW5400_A))
31
32 define Profile/IMX6Q_GW54XX
33 NAME:=Gateworks Ventana GW54XX
34 PACKAGES:= \
35 kmod-thermal-imx kmod-usb-chipidea kmod-usb-mxs-phy
36 endef
37
38 define Profile/IMX6Q_GW54XX/Description
39 The Gateworks GW54xx family of products is based on the Freescale i.MX6Q SoC
40 and offers a large variety of peripherals such as:
41
42 * DDR3
43 * NAND FLASH
44 * 6x PCIe (3x with USB)
45 * Optional expansion for additional USB/PCI based periperhals
46 * 1x USB EHCI
47 * 1x USB OTG
48 * HDMI Audio/Video in/out
49 * Analog Video in/out
50 * Analog Audio in/out
51 * Gateworks System Controller
52 endef
53
54 IMX6Q_GW54XX_UBIFS_OPTS:="-m 2048 -e 124KiB -c 1912"
55 IMX6Q_GW54XX_UBI_OPTS:="-m 2048 -p 128KiB -s 2048"
56
57 $(eval $(call Profile,IMX6Q_GW54XX))