[source] sunxi: add Olimex A20-OlinuXino-LIME2

LEDE Commits lede-commits at lists.infradead.org
Mon Sep 18 12:43:19 PDT 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/f295db6e469642d88effb4d324be77aa73bf1a5e

commit f295db6e469642d88effb4d324be77aa73bf1a5e
Author: Lucian Cristian <lucian.cristian at gmail.com>
AuthorDate: Fri May 19 04:14:08 2017 +0300

    sunxi: add Olimex A20-OlinuXino-LIME2
    
    Signed-off-by: Lucian Cristian <lucian.cristian at gmail.com>
---
 package/boot/uboot-sunxi/Makefile     |  7 +++++++
 target/linux/sunxi/image/cortex-a7.mk | 10 ++++++++++
 2 files changed, 17 insertions(+)

diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index a144ce7..2d7f9c5 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 0a7efba..3fee8b2 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



More information about the lede-commits mailing list