diff options
author | Tom Rini <trini@konsulko.com> | 2016-05-25 07:19:31 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-25 07:19:31 -0400 |
commit | 826d06dbdd0e29ab0d8bd76d1ca640e2dfdb076c (patch) | |
tree | 01a7f2b3f69119bb26e72040ae52f91e32d68adc /arch/powerpc/lib/ppccache.S | |
parent | fc15b9beed05dec6cc092c265042381a0eadb0e9 (diff) | |
parent | 8ef548d5f13e68e1b3975d9b68920bfa8bf09891 (diff) | |
download | u-boot-imx-826d06dbdd0e29ab0d8bd76d1ca640e2dfdb076c.zip u-boot-imx-826d06dbdd0e29ab0d8bd76d1ca640e2dfdb076c.tar.gz u-boot-imx-826d06dbdd0e29ab0d8bd76d1ca640e2dfdb076c.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'arch/powerpc/lib/ppccache.S')
-rw-r--r-- | arch/powerpc/lib/ppccache.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/lib/ppccache.S b/arch/powerpc/lib/ppccache.S index b96dbc6..66cf02d 100644 --- a/arch/powerpc/lib/ppccache.S +++ b/arch/powerpc/lib/ppccache.S @@ -65,6 +65,7 @@ ppcSync: * flush_dcache_range(unsigned long start, unsigned long stop) */ _GLOBAL(flush_dcache_range) +#if defined(CONFIG_4xx) || defined(CONFIG_MPC86xx) li r5,L1_CACHE_BYTES-1 andc r3,r3,r5 subf r4,r3,r4 @@ -77,6 +78,7 @@ _GLOBAL(flush_dcache_range) addi r3,r3,L1_CACHE_BYTES bdnz 1b sync /* wait for dcbst's to get to ram */ +#endif blr /* @@ -87,6 +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) li r5,L1_CACHE_BYTES-1 andc r3,r3,r5 subf r4,r3,r4 @@ -100,5 +103,6 @@ _GLOBAL(invalidate_dcache_range) addi r3,r3,L1_CACHE_BYTES bdnz 1b sync /* wait for dcbi's to get to ram */ +#endif blr |