From: Matthew McClintock Date: Mon, 23 May 2011 08:38:53 +0000 (+0000) Subject: powerpc/85xx: provide 85xx flush_icache for cmd_cache X-Git-Tag: v2011.09-rc1~105^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0a9fe8ee7e5c4d1d677fab71514d4f4a9be2f6be;p=u-boot powerpc/85xx: provide 85xx flush_icache for cmd_cache This provides a function that will override the weak function flush_icache to let 85xx boards to flush the icache cc: Kumar Gala Signed-off-by: Matthew McClintock --- diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S index 626ccce6bf..878a3d67e8 100644 --- a/arch/powerpc/cpu/mpc85xx/start.S +++ b/arch/powerpc/cpu/mpc85xx/start.S @@ -676,6 +676,8 @@ mck_return: /* Cache functions. */ +.globl flush_icache +flush_icache: .globl invalidate_icache invalidate_icache: mfspr r0,L1CSR1