aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-07-13 11:28:07 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-07-13 11:38:57 +0100
commite0e74d8a2ced19f46428d30efd388db72d79326b (patch)
tree5a5d2cd08d70f7cb1430f9f446886107675492b7 /package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch
parent7659ee1e2786ccc78656362d7007e4c402c939b7 (diff)
downloadupstream-e0e74d8a2ced19f46428d30efd388db72d79326b.tar.gz
upstream-e0e74d8a2ced19f46428d30efd388db72d79326b.tar.bz2
upstream-e0e74d8a2ced19f46428d30efd388db72d79326b.zip
uboot-mediatek: unbreak build with binman
swig has been installed on the buildbots a while a ago and Petr Štetiar got a fix for the pylibfdt error. Use that and re-enable the builds for mt7620 and mt7621. Refresh patches while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch9
1 files changed, 2 insertions, 7 deletions
diff --git a/package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch b/package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch
index 7bcc896565..1ef16c9955 100644
--- a/package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch
+++ b/package/boot/uboot-mediatek/patches/001-mtk-0023-spl-nand-support-loading-legacy-image-with-payload-c.patch
@@ -14,11 +14,9 @@ Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
common/spl/spl_nand.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
-diff --git a/common/spl/spl_nand.c b/common/spl/spl_nand.c
-index 82a10ffa63..7b7579a2df 100644
--- a/common/spl/spl_nand.c
+++ b/common/spl/spl_nand.c
-@@ -56,6 +56,21 @@ static ulong spl_nand_fit_read(struct spl_load_info *load, ulong offs,
+@@ -56,6 +56,21 @@ static ulong spl_nand_fit_read(struct sp
return size / load->bl_len;
}
@@ -40,7 +38,7 @@ index 82a10ffa63..7b7579a2df 100644
struct mtd_info * __weak nand_get_mtd(void)
{
return NULL;
-@@ -93,6 +108,18 @@ static int spl_nand_load_element(struct spl_image_info *spl_image,
+@@ -93,6 +108,18 @@ static int spl_nand_load_element(struct
load.bl_len = bl_len;
load.read = spl_nand_fit_read;
return spl_load_imx_container(spl_image, &load, offset / bl_len);
@@ -59,6 +57,3 @@ index 82a10ffa63..7b7579a2df 100644
} else {
err = spl_parse_image_header(spl_image, bootdev, header);
if (err)
---
-2.36.1
-