]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:23 +0000 (22:35 +0200)
commit63f24305a130f7ddb3b9c369bdb01d20ce2912e9
treece65b0437058f1e95e145c0b7aff745963d8a99d
parent322ed8016776c73903be13eeb509239f3dbfed74
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