From f295db6e469642d88effb4d324be77aa73bf1a5e Mon Sep 17 00:00:00 2001 From: Lucian Cristian Date: Fri, 19 May 2017 04:14:08 +0300 Subject: [PATCH] sunxi: add Olimex A20-OlinuXino-LIME2 Signed-off-by: Lucian Cristian --- 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 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 -- 2.25.1