From 94e2ec72531c9a0d99081381f3ce3a82a6754af3 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 2 Aug 2018 17:42:29 -0700 Subject: arch: Retire cache_sync_instructions() from (except arm) cache_sync_instructions() has been superseded by arch_program_segment_loaded() and friends for a while. There are no uses in common code anymore, so let's remove it from for all architectures. arm64 still has an implementation and one reference, but they are not really needed since arch_program_segment_loaded() does the same thing already. Remove them. Leave it in arm(32) since there are several references (including in SoC code) that I don't feel like tracking down and testing right now. Change-Id: I6b776ad49782d981d6f1ef0a0e013812cf408524 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/27879 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/arch/x86/include/arch/cache.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/arch/x86/include') diff --git a/src/arch/x86/include/arch/cache.h b/src/arch/x86/include/arch/cache.h index 9f7cda2643..c0d50e650d 100644 --- a/src/arch/x86/include/arch/cache.h +++ b/src/arch/x86/include/arch/cache.h @@ -34,13 +34,6 @@ #include #include -/* - * For the purposes of the currently executing CPU loading code that will be - * run there aren't any cache coherency operations required. This just provides - * symmetry between architectures. - */ -static inline void cache_sync_instructions(void) {} - /* Executing WBINVD when running out of CAR would not be good, prevent that. */ static inline void dcache_clean_invalidate_all(void) { -- cgit v1.2.3