aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/Makefile
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-08-28 00:13:05 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-09-04 23:00:34 +0100
commitc8c18051002c7812bfa33c4572e94a0fd855bbeb (patch)
tree9e37ef63bbb462da55dd360349c1562faaa4e393 /package/boot/uboot-mediatek/Makefile
parented370ec424ca19fe983dc38ab5bc7a9fb1c9ab04 (diff)
downloadupstream-c8c18051002c7812bfa33c4572e94a0fd855bbeb.tar.gz
upstream-c8c18051002c7812bfa33c4572e94a0fd855bbeb.tar.bz2
upstream-c8c18051002c7812bfa33c4572e94a0fd855bbeb.zip
uboot-mediatek: add builds for UniFi 6 LR v2 and v3
While the v2 is nearly identical to v1, v3 uses a different PHY and needs a different build for Ethernet to work in U-Boot. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit fff4441135ed9290eb2f947f931b826a60d6c167)
Diffstat (limited to 'package/boot/uboot-mediatek/Makefile')
-rw-r--r--package/boot/uboot-mediatek/Makefile34
1 files changed, 30 insertions, 4 deletions
diff --git a/package/boot/uboot-mediatek/Makefile b/package/boot/uboot-mediatek/Makefile
index a04e629f12..021d444a97 100644
--- a/package/boot/uboot-mediatek/Makefile
+++ b/package/boot/uboot-mediatek/Makefile
@@ -124,10 +124,34 @@ define U-Boot/mt7622_bananapi_bpi-r64-snand
DEPENDS:=+trusted-firmware-a-mt7622-snand-2ddr
endef
-define U-Boot/mt7622_ubnt_unifi-6-lr
+define U-Boot/mt7622_ubnt_unifi-6-lr-v1
NAME:=Ubiquiti UniFi 6 LR
- UBOOT_CONFIG:=mt7622_ubnt_unifi-6-lr
- BUILD_DEVICES:=ubnt_unifi-6-lr-v1-ubootmod ubnt_unifi-6-lr-v2-ubootmod
+ UBOOT_CONFIG:=mt7622_ubnt_unifi-6-lr-v1
+ BUILD_DEVICES:=ubnt_unifi-6-lr-v1-ubootmod
+ BUILD_SUBTARGET:=mt7622
+ UBOOT_IMAGE:=u-boot.fip
+ BL2_BOOTDEV:=nor
+ BL2_DDRBLOB:=2
+ DEPENDS:=+trusted-firmware-a-mt7622-nor-2ddr
+ FIP_COMPRESS:=1
+endef
+
+define U-Boot/mt7622_ubnt_unifi-6-lr-v2
+ NAME:=Ubiquiti UniFi 6 LR v2
+ UBOOT_CONFIG:=mt7622_ubnt_unifi-6-lr-v2
+ BUILD_DEVICES:=ubnt_unifi-6-lr-v2-ubootmod
+ BUILD_SUBTARGET:=mt7622
+ UBOOT_IMAGE:=u-boot.fip
+ BL2_BOOTDEV:=nor
+ BL2_DDRBLOB:=2
+ DEPENDS:=+trusted-firmware-a-mt7622-nor-2ddr
+ FIP_COMPRESS:=1
+endef
+
+define U-Boot/mt7622_ubnt_unifi-6-lr-v3
+ NAME:=Ubiquiti UniFi 6 LR v3
+ UBOOT_CONFIG:=mt7622_ubnt_unifi-6-lr-v3
+ BUILD_DEVICES:=ubnt_unifi-6-lr-v3-ubootmod
BUILD_SUBTARGET:=mt7622
UBOOT_IMAGE:=u-boot.fip
BL2_BOOTDEV:=nor
@@ -392,7 +416,9 @@ UBOOT_TARGETS := \
mt7622_bananapi_bpi-r64-snand \
mt7622_linksys_e8450 \
mt7622_rfb1 \
- mt7622_ubnt_unifi-6-lr \
+ mt7622_ubnt_unifi-6-lr-v1 \
+ mt7622_ubnt_unifi-6-lr-v2 \
+ mt7622_ubnt_unifi-6-lr-v3 \
mt7623n_bpir2 \
mt7623a_unielec_u7623 \
mt7628_rfb \