sunxi: add support for Merrii A80 (Optimus) devboard
authorZoltan HERPAI <wigyori@uid0.hu>
Mon, 26 Aug 2019 08:18:39 +0000 (10:18 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 26 Aug 2019 09:33:11 +0000 (11:33 +0200)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
package/boot/uboot-sunxi/Makefile
target/linux/sunxi/image/cortex-a7.mk

index d8dde8afa1806ea82ea0fc7fa4723c1086e438ea..95bcf9c75ff3178980e2249c2cf17f34e611d95e 100644 (file)
@@ -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 \
index 6c6de6e508fb1164583a0f281ea4e97a973656a4..508a89d313ca380407c7b45807a0632129b04073 100644 (file)
@@ -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