[U-Boot] [PATCH 2/2] powerpc/85xx: provide 85xx flush_icache for cmd_cache
Matthew McClintock
msm at freescale.com
Mon May 23 20:38:53 CEST 2011
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 at freescale.com>
Signed-off-by: Matthew McClintock <msm at freescale.com>
---
arch/powerpc/cpu/mpc85xx/start.S | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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
--
1.7.3.4
More information about the U-Boot
mailing list