]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARMV7: Fix build for non-OMAP3 boards
authorSteve Sakoman <steve@sakoman.com>
Thu, 21 Oct 2010 05:00:00 +0000 (22:00 -0700)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 4 Nov 2010 19:27:02 +0000 (15:27 -0400)
commit8345fb242c952b2bb993ac43ecc53eac0108f80c
tree2ae3cafd920d6b3ad2f1077c3c7b1886518db42d
parenta711edfae15cdf91b14bfb81e403230fa06c544d
ARMV7: Fix build for non-OMAP3 boards

Commit c3d3a54 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: Steve Sakoman <steve.sakoman@linaro.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/lib/cache.c