aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/sunxi')
-rw-r--r--target/linux/sunxi/Makefile3
-rw-r--r--target/linux/sunxi/cortexa7/target.mk2
-rw-r--r--target/linux/sunxi/image/cortex-a7.mk10
3 files changed, 13 insertions, 2 deletions
diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index cd1bf30e84..e1630fb441 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=sunxi
-BOARDNAME:=Allwinner A1x/A20/A3x
+BOARDNAME:=Allwinner A1x/A20/A3x/R40
FEATURES:=fpu usb ext4 display rtc squashfs
SUBTARGETS:=cortexa8 cortexa7 cortexa53
MAINTAINER:=Zoltan HERPAI <wigyori@uid0.hu>
@@ -23,6 +23,7 @@ KERNELNAME:=zImage dtbs
# A31: quad Cortex-A7
# A80: octa Cortex-A15/A7
# H3: quad Cortex-A7
+# R40: quad Cortex-A7
include $(INCLUDE_DIR)/target.mk
diff --git a/target/linux/sunxi/cortexa7/target.mk b/target/linux/sunxi/cortexa7/target.mk
index 16aa9f7d0a..b6bdd483bb 100644
--- a/target/linux/sunxi/cortexa7/target.mk
+++ b/target/linux/sunxi/cortexa7/target.mk
@@ -7,6 +7,6 @@
include $(TOPDIR)/rules.mk
-BOARDNAME:=Allwinner A20/A3x
+BOARDNAME:=Allwinner A20/A3x/R40
CPU_TYPE:=cortex-a7
CPU_SUBTYPE:=neon-vfpv4
diff --git a/target/linux/sunxi/image/cortex-a7.mk b/target/linux/sunxi/image/cortex-a7.mk
index 05c4328d8e..3375a4542c 100644
--- a/target/linux/sunxi/image/cortex-a7.mk
+++ b/target/linux/sunxi/image/cortex-a7.mk
@@ -239,4 +239,14 @@ endef
TARGET_DEVICES += sun7i-a20-pcduino3
+define Device/sun8i-r40-bananapi-m2-ultra
+ DEVICE_VENDOR := LeMaker
+ DEVICE_MODEL := Banana Pi M2 Ultra
+ DEVICE_PACKAGES:=kmod-rtc-sunxi kmod-ata-core kmod-ata-sunxi
+ SUPPORTED_DEVICES:=lemaker,bananapi-m2-ultra
+ SUNXI_DTS:=sun8i-r40-bananapi-m2-ultra
+endef
+
+TARGET_DEVICES += sun8i-r40-bananapi-m2-ultra
+
endif