From 60b35da8cec3f29de121e96e44602320da1a9570 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/cortexa7.mk | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile index b2ecc2e820..7f0aaa50c7 100644 --- a/package/boot/uboot-sunxi/Makefile +++ b/package/boot/uboot-sunxi/Makefile @@ -164,6 +164,12 @@ define U-Boot/Lamobo_R1 BUILD_DEVICES:=lamobo_lamobo-r1 endef +define U-Boot/Merrii_A80_Optimus + BUILD_SUBTARGET:=cortexa7 + NAME:=Merrii A80 + BUILD_DEVICES:=merrii_optimus +endef + define U-Boot/nanopi_m1_plus BUILD_SUBTARGET:=cortexa7 NAME:=NanoPi M1 Plus (H3) @@ -431,6 +437,7 @@ UBOOT_TARGETS := \ Hummingbird_A31 \ Marsboard_A10 \ Mele_M9 \ + Merrii_A80_Optimus \ OLIMEX_A13_SOM \ licheepi_nano \ Linksprite_pcDuino \ diff --git a/target/linux/sunxi/image/cortexa7.mk b/target/linux/sunxi/image/cortexa7.mk index 66f233f766..9ac2dd2500 100644 --- a/target/linux/sunxi/image/cortexa7.mk +++ b/target/linux/sunxi/image/cortexa7.mk @@ -137,6 +137,14 @@ define Device/mele_m9 endef TARGET_DEVICES += mele_m9 +define Device/merrii_optimus + DEVICE_VENDOR := Merrii + DEVICE_MODEL := Optimus + DEVICE_PACKAGES:=kmod-rtc-sunxi + SOC := sun9i-a80 +endef +TARGET_DEVICES += merrii_optimus + define Device/olimex_a20-olinuxino-lime DEVICE_VENDOR := Olimex DEVICE_MODEL := A20-OLinuXino-LIME -- 2.30.2