From e2d69a8d888990ae085dd883be6ba2175dfb816b 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 91ab3961dd..d85c3ba48f 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) @@ -292,6 +298,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 bdd6514c95..2a9a362519 100644 --- a/target/linux/sunxi/image/cortex-a7.mk +++ b/target/linux/sunxi/image/cortex-a7.mk @@ -272,4 +272,13 @@ endef TARGET_DEVICES += sun8i-r40-bananapi-m2-ultra +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