sunxi: add support for H616 SoC and Orangepi Zero 2
[openwrt/staging/dangole.git] / package / boot / uboot-sunxi / Makefile
index be4c8411a96ad14d614552fa9fe16ac984d3334a..e141eb7af74d9d04f5c91b1e4876c125f1562a83 100644 (file)
@@ -328,6 +328,15 @@ define U-Boot/orangepi_pc2
   ATF:=a64
 endef
 
+define U-Boot/orangepi_zero2
+  BUILD_SUBTARGET:=cortexa53
+  NAME:=Xunlong Orange Pi Zero2
+  BUILD_DEVICES:=xunlong_orangepi-zero2
+  DEPENDS:=+PACKAGE_u-boot-orangepi_zero2:trusted-firmware-a-sunxi-h616
+  UENV:=h616
+  ATF:=h616
+endef
+
 define U-Boot/Bananapi_M2_Ultra
   BUILD_SUBTARGET:=cortexa7
   NAME:=Bananapi M2 Ultra
@@ -382,6 +391,7 @@ UBOOT_TARGETS := \
        orangepi_plus \
        orangepi_2 \
        orangepi_pc2 \
+       orangepi_zero2 \
        pangolin \
        pine64_plus \
        Sinovoip_BPI_M3 \