ARM1136: add cache flush and invalidate operations
authorAnatolij Gustschin <agust@denx.de>
Mon, 2 Apr 2012 06:18:00 +0000 (06:18 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Apr 2012 12:53:58 +0000 (14:53 +0200)
commit219872c8fe890cd280cf54f27df86504bb17d277
tree605a49912a56cbda4c85965c11eb746c9a0a104f
parentf4ac6cb6af107ce62754dd3bfc7ff31a92e7e2c8
ARM1136: add cache flush and invalidate operations

Since commit 5c1ad3e6f8ae578bbe30e09652f1531e9bc22031
(net: fec_mxc: allow use with cache enabled) the FEC_MXC
driver uses flush_dcache_range() and invalidate_dcache_range()
functions. This driver is also configured for ARM1136 based
'flea3' and 'mx35pdk' boards which currently do not build
as there are no ARM1136 specific flush_dcache_range() and
invalidate_dcache_range() functions. Add various ARM1136
cache functions to fix building for 'flea3' and 'mx35pdk'.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
CC: Mike Frysinger <vapier@gentoo.org>
CC: Marek Vasut <marex@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
arch/arm/cpu/arm1136/cpu.c