blob: 1727ad682899a8301eebb431e52af8032e4af42e [file] [log] [blame]
developer23f9f0f2023-06-15 13:06:25 +08001diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile
2index c46b906..63610fb 100644
3--- a/package/boot/uboot-mediatek/Makefile
4+++ b/package/boot/uboot-mediatek/Makefile
5@@ -1,8 +1,12 @@
6 include $(TOPDIR)/rules.mk
7 include $(INCLUDE_DIR)/kernel.mk
8
9-PKG_VERSION:=2020.10
10-PKG_HASH:=0d481bbdc05c0ee74908ec2f56a6daa53166cc6a78a0e4fac2ac5d025770a622
11+PKG_NAME:=u-boot-mtk
12+PKG_VERSION:=2021.01
13+PKG_RELEASE:=1
14+PKG_SOURCE_PROTO:=git
15+PKG_SOURCE_URL:=https://gerrit.mediatek.inc/gateway/bootloader/Uboot-upstream
16+PKG_SOURCE_VERSION:=icb-rebb-main
17
18 include $(INCLUDE_DIR)/u-boot.mk
19 include $(INCLUDE_DIR)/package.mk
20@@ -17,6 +21,7 @@ endef
21 define U-Boot/mt7622
22 NAME:=MT7622
23 BUILD_SUBTARGET:=mt7622
24+ UBOOT_IMAGE:=u-boot.bin
25 UBOOT_CONFIG:=mt7622_rfb
26 endef
27
28@@ -39,7 +44,14 @@ define U-Boot/mt7629
29 UBOOT_CONFIG:=mt7629_rfb
30 endef
31
32-UBOOT_TARGETS := mt7629 mt7622 mt7623n_bpir2 mt7623a_unielec_u7623
33+define U-Boot/mt7986
34+ NAME:=MT7986
35+ BUILD_SUBTARGET:=mt7986
36+ UBOOT_IMAGE:=u-boot.bin
37+ UBOOT_CONFIG:=mt7986_fpga
38+endef
39+
40+UBOOT_TARGETS := mt7629 mt7622 mt7623n_bpir2 mt7623a_unielec_u7623 mt7986
41
42 UBOOT_MAKE_FLAGS += $(UBOOT_IMAGE)
43