aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/arm-trusted-firmware-mediatek/patches/001-make-brom-sign-key-optional-again.patch
diff options
context:
space:
mode:
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.patch17
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