1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-21 15:08:15 +02:00
openwrt/target/linux/bcm27xx/patches-4.19/950-0116-hack-cache-Fix-linker-error.patch
Adrian Schmutzler 7d7aa2fd92 brcm2708: rename target to bcm27xx
This change makes the names of Broadcom targets consistent by using
the common notation based on SoC/CPU ID (which is used internally
anyway), bcmXXXX instead of brcmXXXX.
This is even used for target TITLE in make menuconfig already,
only the short target name used brcm so far.

Despite, since subtargets range from bcm2708 to bcm2711, it seems
appropriate to use bcm27xx instead of bcm2708 (again, as already done
for BOARDNAME).

This also renames the packages brcm2708-userland and brcm2708-gpu-fw.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
2020-02-14 14:10:51 +01:00

28 lines
815 B
Diff

From 7e26ec509af7279406042ecb776f173c487ffddc Mon Sep 17 00:00:00 2001
From: popcornmix <popcornmix@gmail.com>
Date: Tue, 20 Feb 2018 20:53:46 +0000
Subject: [PATCH] hack: cache: Fix linker error
---
arch/arm/mm/cache-v7.S | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/arm/mm/cache-v7.S
+++ b/arch/arm/mm/cache-v7.S
@@ -350,6 +350,7 @@ ENDPROC(v7_flush_kern_dcache_area)
* - start - virtual start address of region
* - end - virtual end address of region
*/
+ENTRY(b15_dma_inv_range)
ENTRY(v7_dma_inv_range)
dcache_line_size r2, r3
sub r3, r2, #1
@@ -380,6 +381,7 @@ ENDPROC(v7_dma_inv_range)
* - start - virtual start address of region
* - end - virtual end address of region
*/
+ENTRY(b15_dma_clean_range)
ENTRY(v7_dma_clean_range)
dcache_line_size r2, r3
sub r3, r2, #1