diff options
author | Roman Yeryomin <roman@advem.lv> | 2018-04-29 19:13:31 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-05-05 06:57:00 +0200 |
commit | 91930c0f99fedf6841ab5666ef5a26caa5b0790d (patch) | |
tree | 1ed02b16def8164b5789f31ce534c16b8364de7a /target/linux/gemini/patches-4.4/060-cache-fa.patch | |
parent | 6409b159e8b84e172da7755088d587ccd99103ab (diff) | |
download | upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.tar.gz upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.tar.bz2 upstream-91930c0f99fedf6841ab5666ef5a26caa5b0790d.zip |
gemini: remove 4.4 support
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/gemini/patches-4.4/060-cache-fa.patch')
-rw-r--r-- | target/linux/gemini/patches-4.4/060-cache-fa.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/gemini/patches-4.4/060-cache-fa.patch b/target/linux/gemini/patches-4.4/060-cache-fa.patch deleted file mode 100644 index fc74c0af88..0000000000 --- a/target/linux/gemini/patches-4.4/060-cache-fa.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- a/arch/arm/mm/cache-fa.S -+++ b/arch/arm/mm/cache-fa.S -@@ -24,7 +24,8 @@ - /* - * The size of one data cache line. - */ --#define CACHE_DLINESIZE 16 -+#define CACHE_DLINESIZE 16 -+#define CACHE_DLINESHIFT 4 - - /* - * The total size of the data cache. -@@ -169,7 +170,17 @@ ENTRY(fa_flush_kern_dcache_area) - * - start - virtual start address - * - end - virtual end address - */ -+__flush_whole_dcache: -+ mcr p15, 0, r0, c7, c14, 0 @ clean/invalidate D cache -+ mov r0, #0 -+ mcr p15, 0, r0, c7, c10, 4 @ drain write buffer -+ mov pc, lr -+ - fa_dma_inv_range: -+ sub r3, r1, r0 @ calculate total size -+ cmp r3, #CACHE_DLIMIT @ total size >= limit? -+ bhs __flush_whole_dcache @ flush whole D cache -+ - tst r0, #CACHE_DLINESIZE - 1 - bic r0, r0, #CACHE_DLINESIZE - 1 - mcrne p15, 0, r0, c7, c14, 1 @ clean & invalidate D entry -@@ -193,6 +204,10 @@ fa_dma_inv_range: - * - end - virtual end address - */ - fa_dma_clean_range: -+ sub r3, r1, r0 @ calculate total size -+ cmp r3, #CACHE_DLIMIT @ total size >= limit? -+ bhs __flush_whole_dcache @ flush whole D cache -+ - bic r0, r0, #CACHE_DLINESIZE - 1 - 1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry - add r0, r0, #CACHE_DLINESIZE |