uboot-mediatek: add support for Xiaomi WR30U
[openwrt/staging/hauke.git] / package / boot / uboot-mediatek / Makefile
index 33fd7e086e8b8fe01119d5d33b33b0027389a379..55965e64dbb8e2811a4d772ffcb8834259a18e81 100644 (file)
@@ -200,6 +200,18 @@ define U-Boot/mt7981_qihoo_360t7
   DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3
 endef
 
+define U-Boot/mt7981_xiaomi_mi-router-wr30u
+  NAME:=Xiaomi Router WR30U
+  BUILD_SUBTARGET:=filogic
+  BUILD_DEVICES:=xiaomi_mi-router-wr30u-ubootmod
+  UBOOT_CONFIG:=mt7981_xiaomi_mi-router-wr30u
+  UBOOT_IMAGE:=u-boot.fip
+  BL2_BOOTDEV:=spim-nand
+  BL2_SOC:=mt7981
+  BL2_DDRTYPE:=ddr3
+  DEPENDS:=+trusted-firmware-a-mt7981-spim-nand-ddr3
+endef
+
 define U-Boot/mt7986_rfb
   NAME:=MT7986 Reference Board
   BUILD_SUBTARGET:=filogic
@@ -327,6 +339,7 @@ UBOOT_TARGETS := \
        mt7629_rfb \
        mt7981_h3c_magic-nx30-pro \
        mt7981_qihoo_360t7 \
+       mt7981_xiaomi_mi-router-wr30u \
        mt7986_bananapi_bpi-r3-emmc \
        mt7986_bananapi_bpi-r3-sdmmc \
        mt7986_bananapi_bpi-r3-snand \