From e9e31892d20646be1bba0ee4175344f37e43469a Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Tue, 14 Jan 2014 13:45:37 -0800 Subject: libpayload: Add missing cache API stub to x86 This patch adds another cache invalidation stub to the x86 arch to make it usable in common code. This whole stuff should probably be redesigned anyway but I just want to get it working and unblock my CL for now... more cleanups coming later. Change-Id: I2e8bdd8aa0e6723209384c24042f053f2e993fe6 Signed-off-by: Julius Werner Reviewed-on: https://chromium-review.googlesource.com/182534 Reviewed-by: Vincent Palatin (cherry picked from commit cafce5182a7a2a9ce17ad40d9d893a40ebd5aafd) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6919 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- payloads/libpayload/include/x86/arch/cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads') diff --git a/payloads/libpayload/include/x86/arch/cache.h b/payloads/libpayload/include/x86/arch/cache.h index 4a8073616c..396048802f 100644 --- a/payloads/libpayload/include/x86/arch/cache.h +++ b/payloads/libpayload/include/x86/arch/cache.h @@ -41,5 +41,6 @@ #define dcache_invalidate_by_mva(addr, len) #define dcache_clean_invalidate_all() #define dcache_clean_invalidate_by_mva(addr, len) +#define icache_invalidate_all() #endif -- cgit v1.2.3