summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2011-05-23 08:38:53 +0000
committerKumar Gala <galak@kernel.crashing.org>2011-07-29 08:53:38 -0500
commit0a9fe8ee7e5c4d1d677fab71514d4f4a9be2f6be (patch)
tree746c96a7b57fe931d2ed5da8bdfaa58e07a6faad /arch/powerpc
parentcd420e0b2a8966300b108c7fdab2608e12179404 (diff)
downloadu-boot-imx-0a9fe8ee7e5c4d1d677fab71514d4f4a9be2f6be.zip
u-boot-imx-0a9fe8ee7e5c4d1d677fab71514d4f4a9be2f6be.tar.gz
u-boot-imx-0a9fe8ee7e5c4d1d677fab71514d4f4a9be2f6be.tar.bz2
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 <kumar.gala@freescale.com> Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/mpc85xx/start.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerpc/cpu/mpc85xx/start.S
index 626ccce..878a3d6 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