diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-03-05 17:14:02 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-05 17:42:10 +0000 |
commit | dc416983bb45f040700612891a9c46ca92e027ff (patch) | |
tree | 78237ec2ec1db27277a993a04920e64fe68220f0 /package/boot/arm-trusted-firmware-mediatek/patches/001-make-brom-sign-key-optional-again.patch | |
parent | 9f714398e060c6338fbfad44cdbfa8c940dbb84b (diff) | |
download | upstream-dc416983bb45f040700612891a9c46ca92e027ff.tar.gz upstream-dc416983bb45f040700612891a9c46ca92e027ff.tar.bz2 upstream-dc416983bb45f040700612891a9c46ca92e027ff.zip |
arm-trusted-firmware-mediatek: update to ATF 2.4 (2021-02-25)
All necessary blobs are now contained in the upstream repository, no
more wild replacing of blobs needed.
This new version also contains new storage drivers for (SPI-)NAND which
already comes with support for FM35Q1GA, so that patch can be dropped
as well.
Tested on:
* Bananapi BPi-R64
- sdmmc-2ddr
- emmc-2ddr
* Linksys E8450
- snand-1ddr
All works fine (booting Bananapi BPi-R64 from SD Card does NOT require
a signed image, so patch arm-trusted-firmware-mediatek to allow doing
that).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/arm-trusted-firmware-mediatek/patches/001-make-brom-sign-key-optional-again.patch')
-rw-r--r-- | package/boot/arm-trusted-firmware-mediatek/patches/001-make-brom-sign-key-optional-again.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/boot/arm-trusted-firmware-mediatek/patches/001-make-brom-sign-key-optional-again.patch b/package/boot/arm-trusted-firmware-mediatek/patches/001-make-brom-sign-key-optional-again.patch new file mode 100644 index 0000000000..60b221ad5f --- /dev/null +++ b/package/boot/arm-trusted-firmware-mediatek/patches/001-make-brom-sign-key-optional-again.patch @@ -0,0 +1,17 @@ +Index: arm-trusted-firmware-mediatek-2021-02-25-1220acb0/plat/mediatek/mt7622/platform.mk +=================================================================== +--- arm-trusted-firmware-mediatek-2021-02-25-1220acb0.orig/plat/mediatek/mt7622/platform.mk ++++ arm-trusted-firmware-mediatek-2021-02-25-1220acb0/plat/mediatek/mt7622/platform.mk +@@ -99,9 +99,9 @@ BL2_SOURCES += drivers/mmc/mmc.c \ + BROM_HEADER_TYPE := sdmmc + CPPFLAGS += -DMSDC_INDEX=1 + DEVICE_HEADER_OFFSET ?= 0x80000 +-ifeq ($(BROM_SIGN_KEY),) +-$(error BootROM signing key is required for SD booting. Please specify BROM_SIGN_KEY) +-endif ++#ifeq ($(BROM_SIGN_KEY),) ++#$(error BootROM signing key is required for SD booting. Please specify BROM_SIGN_KEY) ++#endif + endif + ifeq ($(BOOT_DEVICE),snand) + include ${MTK_PLAT}/common/drivers/snfi/mtk-snand.mk |