summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/ppccache.S
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-25 17:09:01 -0500
committerTom Rini <trini@konsulko.com>2017-01-25 17:38:45 -0500
commit79a34b71c943a80af5c6d9a2af736fbb37dcc14c (patch)
treec903d3136106e2a566c33eb1366f110220f4c366 /arch/powerpc/lib/ppccache.S
parenta8523a808fd05e4b1c1df63bc40744dd3fd318f4 (diff)
parent76866600f544f00928ee9b5b2799a091ea9b80a7 (diff)
Merge git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'arch/powerpc/lib/ppccache.S')
-rw-r--r--arch/powerpc/lib/ppccache.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/lib/ppccache.S b/arch/powerpc/lib/ppccache.S
index 66cf02dbd04..ad28c7c3697 100644
--- a/arch/powerpc/lib/ppccache.S
+++ b/arch/powerpc/lib/ppccache.S
@@ -65,7 +65,7 @@ ppcSync:
* flush_dcache_range(unsigned long start, unsigned long stop)
*/
_GLOBAL(flush_dcache_range)
-#if defined(CONFIG_4xx) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_4xx) || defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
li r5,L1_CACHE_BYTES-1
andc r3,r3,r5
subf r4,r3,r4
@@ -89,7 +89,7 @@ _GLOBAL(flush_dcache_range)
* invalidate_dcache_range(unsigned long start, unsigned long stop)
*/
_GLOBAL(invalidate_dcache_range)
-#if defined(CONFIG_4xx) || defined(CONFIG_MPC86xx)
+#if defined(CONFIG_4xx) || defined(CONFIG_MPC85xx) || defined(CONFIG_MPC86xx)
li r5,L1_CACHE_BYTES-1
andc r3,r3,r5
subf r4,r3,r4