summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-06-24 17:35:30 -0700
committerMarc Jones <marc.jones@se-eng.com>2015-03-02 22:19:56 +0100
commit67b03746497f326f157a2bc82b25d8dbe365a0ff (patch)
treee94839c6b7a1bb87ac4ffd8a13dfae5bdf2a55b2
parentd653ae89606459d3fccc507c923bdfce262c0f7b (diff)
downloadcoreboot-67b03746497f326f157a2bc82b25d8dbe365a0ff.tar.xz
coreboot arm64: Correct cache function names
Correct function names to make them consistent with generic calling name BUG=None BRANCH=None TEST=Compiles successfully for rush Original-Change-Id: I50499936e1c8da0aafd7e36a22c2c6ab373230f6 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/205582 Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Commit-Queue: Aaron Durbin <adurbin@chromium.org> (cherry picked from commit 16668529527224fca3086ee88955d29e3a268516) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I449e63b05680ca12ae81a3260fc03836686d7317 Reviewed-on: http://review.coreboot.org/8469 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
-rw-r--r--src/arch/arm64/armv8/cache.c6
-rw-r--r--src/arch/arm64/include/armv8/arch/cache.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/arm64/armv8/cache.c b/src/arch/arm64/armv8/cache.c
index 918a883303..97822ffdbd 100644
--- a/src/arch/arm64/armv8/cache.c
+++ b/src/arch/arm64/armv8/cache.c
@@ -101,17 +101,17 @@ static void dcache_op_va(void const *addr, size_t len, enum dcache_op op)
isb();
}
-void dcache_clean_by_va(void const *addr, size_t len)
+void dcache_clean_by_mva(void const *addr, size_t len)
{
dcache_op_va(addr, len, OP_DCCVAC);
}
-void dcache_clean_invalidate_by_va(void const *addr, size_t len)
+void dcache_clean_invalidate_by_mva(void const *addr, size_t len)
{
dcache_op_va(addr, len, OP_DCCIVAC);
}
-void dcache_invalidate_by_va(void const *addr, size_t len)
+void dcache_invalidate_by_mva(void const *addr, size_t len)
{
dcache_op_va(addr, len, OP_DCIVAC);
}
diff --git a/src/arch/arm64/include/armv8/arch/cache.h b/src/arch/arm64/include/armv8/arch/cache.h
index 977edbaeff..2d4201198a 100644
--- a/src/arch/arm64/include/armv8/arch/cache.h
+++ b/src/arch/arm64/include/armv8/arch/cache.h
@@ -59,13 +59,13 @@
/* dcache clean by virtual address to PoC */
-void dcache_clean_by_va(void const *addr, size_t len);
+void dcache_clean_by_mva(void const *addr, size_t len);
/* dcache clean and invalidate by virtual address to PoC */
-void dcache_clean_invalidate_by_va(void const *addr, size_t len);
+void dcache_clean_invalidate_by_mva(void const *addr, size_t len);
/* dcache invalidate by virtual address to PoC */
-void dcache_invalidate_by_va(void const *addr, size_t len);
+void dcache_invalidate_by_mva(void const *addr, size_t len);
/* dcache invalidate all */
void flush_dcache_all(void);