diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-07 11:49:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-03-21 12:23:03 +0100 |
commit | 9738c67932f72083074e15f77ca803ec3f0b2b16 (patch) | |
tree | 68486aa8611bf0cdf84e019bfcb400a48f0325b4 /arch/arm/include | |
parent | a3dcaba8a981a7a79303d8798df9d1c364506abc (diff) | |
download | barebox-9738c67932f72083074e15f77ca803ec3f0b2b16.tar.gz barebox-9738c67932f72083074e15f77ca803ec3f0b2b16.tar.xz |
ARM: aarch64: fix early cache flushing
v8_dcache_all() should not be used directly, but only called from
v8_flush_dcache_all() and v8_invalidate_dcache_all() which set
pass the type of operation in x0. While at it add the missing prototype
for v8_invalidate_dcache_all().
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/cache.h b/arch/arm/include/asm/cache.h index b5460a7876..406a9d5d99 100644 --- a/arch/arm/include/asm/cache.h +++ b/arch/arm/include/asm/cache.h @@ -3,7 +3,8 @@ #ifdef CONFIG_CPU_64v8 extern void v8_invalidate_icache_all(void); -extern void v8_dcache_all(void); +void v8_flush_dcache_all(void); +void v8_invalidate_dcache_all(void); #endif static inline void icache_invalidate(void) |