]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc: add 2 common dcache assembly functions
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 27 Mar 2015 15:07:32 +0000 (16:07 +0100)
committerYork Sun <yorksun@freescale.com>
Mon, 4 May 2015 16:24:42 +0000 (09:24 -0700)
commitac337168ad81a18e768e5e3cfff8d229adeb2b25
tree0170438bc190b71d7dc82c6f8f8863923e67d77d
parente8a7f1c32b55f48408a10cded2663b3f578d02e2
powerpc: add 2 common dcache assembly functions

This patch defines the 2 flush_dcache_range and invalidate_dcache_range
functions for all the powerpc architecture. Their implementation is
borrowed from the kernel's misc_32.S file and replace the ones from
mpc86xx and ppc4xx since they were equivalent.

This is a fix for the problem introduced by this patch:
http://patchwork.ozlabs.org/patch/448849/

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc512x/Makefile
arch/powerpc/cpu/mpc512x/cache.c [deleted file]
arch/powerpc/cpu/mpc5xxx/Makefile
arch/powerpc/cpu/mpc5xxx/cache.c [deleted file]
arch/powerpc/cpu/mpc83xx/Makefile
arch/powerpc/cpu/mpc83xx/cache.c [deleted file]
arch/powerpc/cpu/mpc85xx/Makefile
arch/powerpc/cpu/mpc85xx/cache.c [deleted file]
arch/powerpc/cpu/mpc86xx/cache.S
arch/powerpc/cpu/ppc4xx/cache.S
arch/powerpc/lib/ppccache.S