aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-mediatek
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-03-11 16:01:32 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-03-11 16:24:48 +0000
commite2cffbb80528b1c13bbaba6e53835de378ef3923 (patch)
treeb29799a43ba6f2f5160dfae34d6a585e577e9b02 /package/boot/arm-trusted-firmware-mediatek
parentce19e8fa438f7013881b71956f39cf299e6fce46 (diff)
downloadupstream-e2cffbb80528b1c13bbaba6e53835de378ef3923.tar.gz
upstream-e2cffbb80528b1c13bbaba6e53835de378ef3923.tar.bz2
upstream-e2cffbb80528b1c13bbaba6e53835de378ef3923.zip
arm-trusted-firmware-mediatek: update to 2021-03-10
Most prominently this adds changes which allow replacing the binary- only 'bromimage' tool by U-Boot's 'mkimage' (see previous commit). This fixes build on non-Linux and/or non-x86 platforms. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/arm-trusted-firmware-mediatek')
-rw-r--r--package/boot/arm-trusted-firmware-mediatek/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/package/boot/arm-trusted-firmware-mediatek/Makefile b/package/boot/arm-trusted-firmware-mediatek/Makefile
index 9ec69db09d..b2afdbed06 100644
--- a/package/boot/arm-trusted-firmware-mediatek/Makefile
+++ b/package/boot/arm-trusted-firmware-mediatek/Makefile
@@ -13,9 +13,9 @@ PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/mtk-openwrt/arm-trusted-firmware.git
-PKG_SOURCE_DATE:=2021-02-25
-PKG_SOURCE_VERSION:=1220acb044a9db9a201aba3be0bb4ce0c9ed3702
-PKG_MIRROR_HASH:=f2ca44b9b8acfbd3a6be30aba316c765f73bad6231a821f524c9f21a845e50a3
+PKG_SOURCE_DATE:=2021-03-10
+PKG_SOURCE_VERSION:=8b635f61091f2e5bce88269468c53fc30bb4cd64
+PKG_MIRROR_HASH:=ffe233a19b51504f605a90a88c7a1bb74303e4a7173a59b24a4dfa572ce99139
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
@@ -85,7 +85,11 @@ TFA_TARGETS:= \
mt7622-sdmmc-1ddr \
mt7622-sdmmc-2ddr
-TFA_MAKE_FLAGS += BOOT_DEVICE=$(BOOT_DEVICE) $(if $(DDR3_FLYBY),DDR3_FLYBY=1) all
+TFA_MAKE_FLAGS += \
+ BOOT_DEVICE=$(BOOT_DEVICE) \
+ USE_MKIMAGE=1 MKIMAGE=$(STAGING_DIR_HOST)/bin/mkimage \
+ $(if $(DDR3_FLYBY),DDR3_FLYBY=1) \
+ all
define Build/Configure
$(call Build/Configure/Default)