powerpc/85xx: provide 85xx flush_icache for cmd_cache
authorMatthew McClintock <msm@freescale.com>
Mon, 23 May 2011 08:38:53 +0000 (08:38 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 29 Jul 2011 13:53:38 +0000 (08:53 -0500)
This provides a function that will override the weak function
flush_icache to let 85xx boards to flush the icache

cc: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Matthew McClintock <msm@freescale.com>
arch/powerpc/cpu/mpc85xx/start.S

index 626ccce..878a3d6 100644 (file)
@@ -676,6 +676,8 @@ mck_return:
 
 /* Cache functions.
 */
+.globl flush_icache
+flush_icache:
 .globl invalidate_icache
 invalidate_icache:
        mfspr   r0,L1CSR1