diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-03-03 00:56:31 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-03 01:00:23 +0000 |
commit | 5a3562cd1da77348f8b542f8e32f75125c492474 (patch) | |
tree | 103ef91cdd33e01b8ddd21ba75f2c5345c69195c | |
parent | 60d2623cc547dbad1df12c08ac2853003b75b83d (diff) | |
download | upstream-5a3562cd1da77348f8b542f8e32f75125c492474.tar.gz upstream-5a3562cd1da77348f8b542f8e32f75125c492474.tar.bz2 upstream-5a3562cd1da77348f8b542f8e32f75125c492474.zip |
arm-trusted-firmware-mediatek: remove {e,sd}mmc headers
Turned out those are simply MBR with active boot partition. And not
needed at all on emmc. Remove them as ptgen can now generate hybrid
MBR sufficient to boot MT7622 from SD Card.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r-- | package/boot/arm-trusted-firmware-mediatek/Makefile | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/boot/arm-trusted-firmware-mediatek/Makefile b/package/boot/arm-trusted-firmware-mediatek/Makefile index 98d421ed87..b775a744c8 100644 --- a/package/boot/arm-trusted-firmware-mediatek/Makefile +++ b/package/boot/arm-trusted-firmware-mediatek/Makefile @@ -36,20 +36,6 @@ define Download/tfa-files HASH:=689b097e4531d3eeca0c477675ab3dc3cace6ba4ed8a339116a9ede6537839d7 endef -define Download/mt7622-header-emmc - URL:=https://raw.githubusercontent.com/frank-w/BPI-R64-ATF/a36efa5f7435b8079479d13b562fedc0aa0d42f0 - URL_FILE:=header_emmc.bin - FILE:=mt7622-header_emmc.bin - HASH:=0a09c55d90c5fc375c59468a4331555f77cbc3e1dd107ca83b5b8c9625f38d8c -endef - -define Download/mt7622-header-sdmmc - URL:=https://raw.githubusercontent.com/frank-w/BPI-R64-ATF/a36efa5f7435b8079479d13b562fedc0aa0d42f0 - URL_FILE:=header_sdmmc.bin - FILE:=mt7622-header_sdmmc.bin - HASH:=242908c04e25289d25ba9fab61a1930425af173051c43d275d1ac9877d6accb1 -endef - define Trusted-Firmware-A/Default BUILD_TARGET:=mediatek BUILD_SUBTARGET:=mt7622 @@ -121,12 +107,6 @@ TFA_MAKE_FLAGS += BOOT_DEVICE=$(BOOT_DEVICE) all define Build/Prepare $(call Build/Prepare/Default) -ifeq ($(BOOT_DEVICE),emmc) - $(eval $(call Download,mt7622-header-emmc)) -endif -ifeq ($(BOOT_DEVICE),sdmmc) - $(eval $(call Download,mt7622-header-sdmmc)) -endif $(eval $(call Download,tfa-files)) # replace 'bromimage' tool by static version $(TAR) -vxzf $(DL_DIR)/$(BLOBS_TARBALL) --wildcards \ |