1
0
Fork 0
forked from mirror/openwrt
openwrt/package
Jonas Jelonek 92ca322dd1 uboot-mediatek: add noncached_set_region prototype to fix build
Building uboot-mediatek fails with GCC-14, uboot v2024.10 and
CONFIG_SYS_NONCACHED_MEMORY defined with error:
cmd/cache.c: In function 'do_dcache':
cmd/cache.c:57:25: error: implicit declaration of function
	'noncached_set_region' [-Wimplicit-function-declaration]

This is caused by upstream commit 7d6cee2cd0e2e2507aca1e3a6fe0e2cb241a116e
("cmd: cache: Remove weak functions") as this removes weak functions in
favor of arch-specific definitions.

This patch adds the function prototype for `noncached_set_region` to
arch-specific header for ARM. It also adds an include in cmd/cache.c to
make the function available there.

Fixes: #16697
Fixes: f8c22c9bff ("uboot-mediatek: update to U-Boot 2024.10")
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
[@dangowrt refreshed patch]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-10-16 03:23:33 +01:00
..
base-files mvebu: fix sysupgrade failure 2024-10-13 14:18:21 +02:00
boot uboot-mediatek: add noncached_set_region prototype to fix build 2024-10-16 03:23:33 +01:00
devel gdb: Remove MIPS NSIG patch 2024-10-12 21:51:25 +02:00
firmware wireless-regdb: Update to version 2024.10.07 2024-10-12 21:56:44 +02:00
kernel mac80211: fix letting drivers iterate over keys 2024-10-13 12:56:03 +02:00
libs libbpf: bump to 1.4.6 2024-10-13 22:29:11 +03:00
network xdp-tools: bump to 1.4.3 2024-10-13 22:29:51 +03:00
system openwrt-keyring: add apk public key for signing of package indexes 2024-10-12 08:58:59 +00:00
utils utils: mtd-utils: update to 2.2.1 2024-10-05 12:41:16 +02:00
Makefile sdk: fix APK key creation 2024-08-09 01:47:05 +02:00