arm: socfpga: Move cache_enable to CPU code
authorMarek Vasut <marex@denx.de>
Sun, 21 Sep 2014 11:57:40 +0000 (13:57 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 6 Oct 2014 15:46:51 +0000 (17:46 +0200)
commit4ab333b765db5cd00b297b4c0e3cd3af5fe320fc
tree937b9b1834de9603527c73523af8e76c9d24c2a3
parent97ce274d97e9c1796d58ae34aadcbc10293cccd7
arm: socfpga: Move cache_enable to CPU code

Move icache_enable() and dcache_enable() function calls from
board code into the CPU code and into the enable_caches()
function. This is how the cache enabling code was designed
to work.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@altera.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Wolfgang Denk <wd@denx.de>
Acked-by: Pavel Machek <pavel@denx.de>
arch/arm/cpu/armv7/socfpga/misc.c
board/altera/socfpga/socfpga_cyclone5.c