summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-04-18 16:41:31 +0200
committerStefan Roese <sr@denx.de>2008-04-22 12:26:33 +0200
commit8deafdc6ad368368cf03b58cab4bd39f45d64b5c (patch)
treef92307a0ae59cfdbbd35d38af0fa489fd1571d4a /cpu
parente1d09680f64b452adde89ed9fe28a77c56bedc9a (diff)
downloadblackbird-obmc-uboot-8deafdc6ad368368cf03b58cab4bd39f45d64b5c.tar.gz
blackbird-obmc-uboot-8deafdc6ad368368cf03b58cab4bd39f45d64b5c.zip
ppc4xx: Add dcache_enable() for 440
dcache_enable() was missing for 440 and the patch 017e9b7925f74878d0e9475388cca9bda5ef9482 ["allow ports to override bootelf "] behavior uses this function. Note: Currently the cache handling functions like d/icache_disable/enable() are NOP's on 440. This may be changed in the future. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/cache.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/cache.S b/cpu/ppc4xx/cache.S
index 5124dec77f..ceb3ec0d34 100644
--- a/cpu/ppc4xx/cache.S
+++ b/cpu/ppc4xx/cache.S
@@ -166,9 +166,11 @@ _GLOBAL(invalidate_dcache)
#ifdef CONFIG_440
.globl dcache_disable
+ .globl dcache_enable
.globl icache_disable
.globl icache_enable
dcache_disable:
+dcache_enable:
icache_disable:
icache_enable:
blr
OpenPOWER on IntegriCloud