aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2017-05-19 04:14:08 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2017-09-18 21:29:16 +0200
commitf295db6e469642d88effb4d324be77aa73bf1a5e (patch)
tree2f77adf099a82cac35ed60bcfa3902527ab1b812
parentb0d2c4ac417d54d18d0c5ab0a106f05657138ae0 (diff)
downloadupstream-f295db6e469642d88effb4d324be77aa73bf1a5e.tar.gz
upstream-f295db6e469642d88effb4d324be77aa73bf1a5e.tar.bz2
upstream-f295db6e469642d88effb4d324be77aa73bf1a5e.zip
sunxi: add Olimex A20-OlinuXino-LIME2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
-rw-r--r--package/boot/uboot-sunxi/Makefile7
-rw-r--r--target/linux/sunxi/image/cortex-a7.mk10
2 files changed, 17 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index a144ce7042..2d7f9c5e8f 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -43,6 +43,12 @@ define U-Boot/A20-OLinuXino-Lime
BUILD_DEVICES:=sun7i-a20-olinuxino-lime
endef
+define U-Boot/A20-OLinuXino-Lime2
+ BUILD_SUBTARGET:=cortexa7
+ NAME:=A20 OLinuXino LIME2
+ BUILD_DEVICES:=sun7i-a20-olinuxino-lime2
+endef
+
define U-Boot/A20-OLinuXino_MICRO
BUILD_SUBTARGET:=cortexa7
NAME:=A20 OLinuXino MICRO
@@ -138,6 +144,7 @@ UBOOT_TARGETS := \
A10-OLinuXino-Lime \
A13-OLinuXino \
A20-OLinuXino-Lime \
+ A20-OLinuXino-Lime2 \
A20-OLinuXino_MICRO \
Bananapi \
Bananapro \
diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk
index 0a7efbac62..3fee8b29f1 100644
--- a/target/linux/sunxi/image/cortex-a7.mk
+++ b/target/linux/sunxi/image/cortex-a7.mk
@@ -18,6 +18,16 @@ endef
TARGET_DEVICES += sun7i-a20-olinuxino-lime
+define Device/sun7i-a20-olinuxino-lime2
+ DEVICE_TITLE:=Olimex A20-OLinuXino-LIME2
+ DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-rtc-sunxi kmod-usb-hid
+ SUPPORTED_DEVICES:=olimex,a20-olinuxino-lime2
+ SUNXI_DTS:=sun7i-a20-olinuxino-lime2
+endef
+
+TARGET_DEVICES += sun7i-a20-olinuxino-lime2
+
+
define Device/sun7i-a20-olinuxino-micro
DEVICE_TITLE:=Olimex A20-Olinuxino Micro
DEVICE_PACKAGES:=kmod-ata-core kmod-ata-sunxi kmod-sun4i-emac kmod-rtc-sunxi