ppc4xx: Add dcache_enable() for 440
authorStefan Roese <sr@denx.de>
Fri, 18 Apr 2008 14:41:31 +0000 (16:41 +0200)
committerStefan Roese <sr@denx.de>
Tue, 22 Apr 2008 10:26:33 +0000 (12:26 +0200)
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>
cpu/ppc4xx/cache.S

index 5124dec77f4c2af89e0aea9eb390ece9beaa3ef7..ceb3ec0d3401f3112aaa0900b249eb527d81db74 100644 (file)
@@ -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