summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2014-01-14 13:45:37 -0800
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-09-25 18:33:07 +0200
commite9e31892d20646be1bba0ee4175344f37e43469a (patch)
treec8a251af4023de540e18d27aa39b1de902fb3af4 /payloads
parent04bfbf50950df6ef78aa354698b226928a4024bc (diff)
downloadcoreboot-e9e31892d20646be1bba0ee4175344f37e43469a.tar.xz
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 <jwerner@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/182534 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit cafce5182a7a2a9ce17ad40d9d893a40ebd5aafd) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6919 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/include/x86/arch/cache.h1
1 files changed, 1 insertions, 0 deletions
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