Commit 8345fb24 authored by Steve Sakoman's avatar Steve Sakoman Committed by Sandeep Paulraj
Browse files

ARMV7: Fix build for non-OMAP3 boards

Commit c3d3a541

 uses CONFIG_ARMV7 to determine whether to call the
v7_flush_cache_all function.  This breaks the build for all non-OMAP3
boards (like Panda and OMAP4430SDP) since there is only a v7_flush_cache_all
implementation for OMAP3.

This patch uses CONFIG_OMAP3XXX instead of CONFIG_ARMV7 so that only boards
with a v7_flush_cache_all will make the call.

Tested on Beagle, Overo, Panda, and OMAP4430SDP
Signed-off-by: default avatarSteve Sakoman <>
Signed-off-by: default avatarSandeep Paulraj <>
parent a711edfa
......@@ -38,7 +38,7 @@ void flush_cache (unsigned long dummy1, unsigned long dummy2)
/* disable write buffer as well (page 2-22) */
asm("mcr p15, 0, %0, c7, c10, 4" : : "r" (0));
void v7_flush_cache_all(void);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment