mirror of https://github.com/hak5/openwrt.git
imx6: move profile definitions to the image/Makefile
Signed-off-by: John Crispin <john@phrozen.org>lede-17.01
parent
2965430999
commit
9e41c3f54e
|
@ -116,7 +116,8 @@ endef
|
||||||
DEVICE_VARS += DEVICE_DTS
|
DEVICE_VARS += DEVICE_DTS
|
||||||
|
|
||||||
define Device/ventana
|
define Device/ventana
|
||||||
PROFILES = Generic VENTANA
|
PROFILES := Generic VENTANA
|
||||||
|
DEVICE_TITLE := Gateworks Ventana family
|
||||||
DEVICE_DTS:= \
|
DEVICE_DTS:= \
|
||||||
imx6dl-gw51xx \
|
imx6dl-gw51xx \
|
||||||
imx6dl-gw52xx \
|
imx6dl-gw52xx \
|
||||||
|
@ -131,16 +132,24 @@ define Device/ventana
|
||||||
imx6q-gw5400-a \
|
imx6q-gw5400-a \
|
||||||
imx6q-gw551x \
|
imx6q-gw551x \
|
||||||
imx6q-gw552x
|
imx6q-gw552x
|
||||||
|
DEVICE_PACKAGES := kmod-thermal-imx kmod-sky2 kmod-usb-chipidea-imx kmod-usb-mxs-phy \
|
||||||
|
kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
|
||||||
|
kmod-can kmod-can-flexcan kmod-can-raw \
|
||||||
|
kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \
|
||||||
|
kmod-leds-gpio kmod-pps-gpio kmod-gw16083 \
|
||||||
|
kobs-ng
|
||||||
IMAGES := nand_normal.ubi nand_large.ubi bootfs.tar.gz
|
IMAGES := nand_normal.ubi nand_large.ubi bootfs.tar.gz
|
||||||
IMAGE/nand_normal.ubi := ubi-boot-overlay normal 2048 124KiB 128KiB 8124
|
IMAGE/nand_normal.ubi := ubi-boot-overlay normal 2048 124KiB 128KiB 8124
|
||||||
IMAGE/nand_large.ubi := ubi-boot-overlay large 4096 248KiB 256KiB 8124
|
IMAGE/nand_large.ubi := ubi-boot-overlay large 4096 248KiB 256KiB 8124
|
||||||
IMAGE/bootfs.tar.gz := bootfs.tar.gz
|
IMAGE/bootfs.tar.gz := bootfs.tar.gz
|
||||||
IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2)
|
IMAGE_NAME := $$(IMAGE_PREFIX)-$$(1)-$$(2)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Device/wandboard
|
define Device/wandboard
|
||||||
PROFILES = Generic IMX6DL_WANDBOARD
|
PROFILES := Generic IMX6DL_WANDBOARD
|
||||||
|
DEVICE_TITLE := Wandboard Dual
|
||||||
DEVICE_DTS := imx6dl-wandboard
|
DEVICE_DTS := imx6dl-wandboard
|
||||||
|
DEVICE_PACKAGES := kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_DEVICES += \
|
TARGET_DEVICES += \
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
define Profile/Generic
|
define Profile/Generic
|
||||||
|
PRIORITY:=1
|
||||||
NAME:=Generic (default)
|
NAME:=Generic (default)
|
||||||
PACKAGES:= \
|
PACKAGES:= \
|
||||||
kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy
|
kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2013 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
define Profile/IMX6DL_WANDBOARD
|
|
||||||
NAME:=Wandboard Dual
|
|
||||||
PACKAGES:= \
|
|
||||||
kmod-thermal-imx kmod-usb-chipidea-imx kmod-usb-mxs-phy
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call Profile,IMX6DL_WANDBOARD))
|
|
|
@ -1,39 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2013 OpenWrt.org
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
define Profile/VENTANA
|
|
||||||
NAME:=Gateworks Ventana family
|
|
||||||
PACKAGES:= \
|
|
||||||
kmod-thermal-imx kmod-sky2 kmod-usb-chipidea-imx kmod-usb-mxs-phy \
|
|
||||||
kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
|
|
||||||
kmod-can kmod-can-flexcan kmod-can-raw \
|
|
||||||
kmod-rtc-ds1672 kmod-gpio-pca953x kmod-hwmon-gsc kmod-eeprom-at24 \
|
|
||||||
kmod-leds-gpio kmod-pps-gpio kmod-gw16083 \
|
|
||||||
kobs-ng
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Profile/VENTANA/Description
|
|
||||||
The Gateworks Ventana family of products is based on the Freescale i.MX6Q SoC
|
|
||||||
and offers a large variety of peripherals such as:
|
|
||||||
|
|
||||||
* DDR3
|
|
||||||
* NAND or SPI flash
|
|
||||||
* multiple PCIe (with USB for Cellular modems)
|
|
||||||
* Optional expansion for additional USB/PCI based periperhals
|
|
||||||
* USB EHCI
|
|
||||||
* USB OTG
|
|
||||||
* HDMI Audio/Video in/out
|
|
||||||
* Analog Video in/out
|
|
||||||
* Analog Audio in/out
|
|
||||||
* Gateworks System Controller
|
|
||||||
* Optional GPS with PPS
|
|
||||||
* Canbus
|
|
||||||
* User GPIO
|
|
||||||
* mSATA
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call Profile,VENTANA))
|
|
Loading…
Reference in New Issue