aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/001-mtk-0004-mips-add-support-for-noncached_alloc.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-0004-mips-add-support-for-noncached_alloc.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-0004-mips-add-support-for-noncached_alloc.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/001-mtk-0004-mips-add-support-for-noncached_alloc.patch9
1 files changed, 1 insertions, 8 deletions
diff --git a/package/boot/uboot-mediatek/patches/001-mtk-0004-mips-add-support-for-noncached_alloc.patch b/package/boot/uboot-mediatek/patches/001-mtk-0004-mips-add-support-for-noncached_alloc.patch
index ef46beea06..9af8e79e63 100644
--- a/package/boot/uboot-mediatek/patches/001-mtk-0004-mips-add-support-for-noncached_alloc.patch
+++ b/package/boot/uboot-mediatek/patches/001-mtk-0004-mips-add-support-for-noncached_alloc.patch
@@ -19,11 +19,9 @@ Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/mips/lib/cache.c | 43 ++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+)
-diff --git a/arch/mips/include/asm/system.h b/arch/mips/include/asm/system.h
-index 79e638844b..89a2ac209f 100644
--- a/arch/mips/include/asm/system.h
+++ b/arch/mips/include/asm/system.h
-@@ -282,4 +282,24 @@ static inline void instruction_hazard_barrier(void)
+@@ -282,4 +282,24 @@ static inline void instruction_hazard_ba
: "=&r"(tmp));
}
@@ -48,8 +46,6 @@ index 79e638844b..89a2ac209f 100644
+#endif /* CONFIG_SYS_NONCACHED_MEMORY */
+
#endif /* _ASM_SYSTEM_H */
-diff --git a/arch/mips/lib/cache.c b/arch/mips/lib/cache.c
-index ec652f0fba..d23b38d6b9 100644
--- a/arch/mips/lib/cache.c
+++ b/arch/mips/lib/cache.c
@@ -6,6 +6,7 @@
@@ -106,6 +102,3 @@ index ec652f0fba..d23b38d6b9 100644
+ return CKSEG1ADDR(next);
+}
+#endif /* CONFIG_SYS_NONCACHED_MEMORY */
---
-2.36.1
-