arm-trusted-firmware-mediatek: update to new release 20250711
Update mediatek arm-trusted-firmware to the latest version. Remove upstream patch: 0004-mediatek-snfi-fix-return-code-when-reading.patch Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
This commit is contained in:
parent
332645a610
commit
7b4ee9b17d
2 changed files with 3 additions and 34 deletions
|
@ -13,9 +13,9 @@ PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=https://github.com/mtk-openwrt/arm-trusted-firmware.git
|
PKG_SOURCE_URL=https://github.com/mtk-openwrt/arm-trusted-firmware.git
|
||||||
PKG_SOURCE_DATE:=2025-02-12
|
PKG_SOURCE_DATE:=2025-07-11
|
||||||
PKG_SOURCE_VERSION:=e090770684e775711a624e68e0b28112227a4c38
|
PKG_SOURCE_VERSION:=78a0dfd927bb00ce973a1f8eb4079df0f755887a
|
||||||
PKG_MIRROR_HASH:=1ff9d60f3677aadd9a6716e860985987ba7157bd28ce831112e05c0b3170939a
|
PKG_MIRROR_HASH:=72a5f3f00f9e368226bb779dc098aac6195a312b48cc22172987d494ccd135d1
|
||||||
|
|
||||||
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
||||||
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
From 94802b344195d3574701ca6ab5122f6b7615a6eb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Daniel Golle <daniel@makrotopia.org>
|
|
||||||
Date: Sun, 11 Aug 2024 23:12:33 +0100
|
|
||||||
Subject: [PATCH] mediatek: snfi: fix return code when reading
|
|
||||||
|
|
||||||
Return 0 on succesful read, which may contain correctable bitflips.
|
|
||||||
|
|
||||||
Fixes: #10
|
|
||||||
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
||||||
---
|
|
||||||
plat/mediatek/apsoc_common/bl2/bl2_dev_snfi_init.c | 4 +++-
|
|
||||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
--- a/plat/mediatek/apsoc_common/bl2/bl2_dev_snfi_init.c
|
|
||||||
+++ b/plat/mediatek/apsoc_common/bl2/bl2_dev_snfi_init.c
|
|
||||||
@@ -30,9 +30,14 @@ static int snfi_mtd_read_page(struct nan
|
|
||||||
int ret;
|
|
||||||
|
|
||||||
ret = mtk_snand_read_page(snf, addr, (void *)buffer, NULL, false);
|
|
||||||
- if (ret == -EBADMSG || ret > 0)
|
|
||||||
+ if (ret == -EBADMSG)
|
|
||||||
ret = 0;
|
|
||||||
|
|
||||||
+ if (ret > 0) {
|
|
||||||
+ NOTICE("corrected %d bitflips while reading page %u\n", ret, page);
|
|
||||||
+ ret = 0;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue