summaryrefslogtreecommitdiff
path: root/src/arch/arm/armv4/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/armv4/cache.c')
-rw-r--r--src/arch/arm/armv4/cache.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/arch/arm/armv4/cache.c b/src/arch/arm/armv4/cache.c
index 729b82c411..e5cf293dce 100644
--- a/src/arch/arm/armv4/cache.c
+++ b/src/arch/arm/armv4/cache.c
@@ -55,6 +55,17 @@ void dcache_invalidate_all(void)
{
}
+unsigned int dcache_line_bytes(void)
+{
+ /*
+ * TODO: Implement this correctly. For now we just return a
+ * reasonable value. It was added during Nyan development and
+ * may be used in bootblock code. It matters only if dcache is
+ * turned on.
+ */
+ return 64;
+}
+
void dcache_clean_by_mva(void const *addr, size_t len)
{
}