Patchwork [U-Boot,2/2] powerpc/85xx: provide 85xx flush_icache for cmd_cache

login
register
mail settings
Submitter Matthew McClintock
Date May 23, 2011, 6:38 p.m.
Message ID <1306175933-4950-2-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/97026/
State Accepted
Commit 0a9fe8ee7e5c4d1d677fab71514d4f4a9be2f6be
Headers show

Comments

Matthew McClintock - May 23, 2011, 6:38 p.m.
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 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Kumar Gala - July 26, 2011, 1:31 p.m.
On May 23, 2011, at 1:38 PM, Matthew McClintock wrote:

> 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 |    2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)

applied to 85xx

- k

Patch

diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S
index 05db90a..f717309 100644
--- a/arch/powerpc/cpu/mpc85xx/start.S
+++ b/arch/powerpc/cpu/mpc85xx/start.S
@@ -745,6 +745,8 @@  mck_return:
 
 /* Cache functions.
 */
+.globl flush_icache
+flush_icache:
 .globl invalidate_icache
 invalidate_icache:
 	mfspr	r0,L1CSR1