From 24fd8319cd538d332dd71fd71579033b55ce4d92 Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Mon, 26 Aug 2019 10:18:39 +0200 Subject: [PATCH] sunxi: add support for Merrii A80 (Optimus) devboard Signed-off-by: Zoltan HERPAI --- package/boot/uboot-sunxi/Makefile | 7 +++++++ target/linux/sunxi/image/cortex-a7.mk | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index d8dde8afa1..95bcf9c75f 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -138,6 +138,12 @@ define U-Boot/Lamobo_R1 BUILD_DEVICES:=sun7i-a20-lamobo-r1 endef +define U-Boot/Merrii_A80_Optimus + BUILD_SUBTARGET:=cortexa7 + NAME:=Merrii A80 + BUILD_DEVICES:=sun9i-a80-optimus +endef + define U-Boot/nanopi_m1_plus BUILD_SUBTARGET:=cortexa7 NAME:=NanoPi M1 Plus (H3) @@ -287,6 +293,7 @@ UBOOT_TARGETS := \ Hummingbird_A31 \ Marsboard_A10 \ Mele_M9 \ + Merrii_A80_Optimus \ OLIMEX_A13_SOM \ Linksprite_pcDuino \ Linksprite_pcDuino3 \ diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk index 6c6de6e508..508a89d313 100644 --- a/target/linux/sunxi/image/cortex-a7.mk +++ b/target/linux/sunxi/image/cortex-a7.mk @@ -262,4 +262,13 @@ endef TARGET_DEVICES += sun7i-a20-pcduino3 +define Device/sun9i-a80-optimus + DEVICE_TITLE:=Sun9i Optimus + DEVICE_PACKAGES:=kmod-rtc-sunxi + SUPPORTED_DEVICES:=merrii,a80-optimus + SUNXI_DTS:=sun9i-a80-optimus +endef + +TARGET_DEVICES += sun9i-a80-optimus + endif -- 2.30.2