]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
armv8/fsl-lsch3: Convert flushing L3 to assembly to avoid using stack
authorYork Sun <yorksun@freescale.com>
Tue, 6 Jan 2015 21:18:42 +0000 (13:18 -0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:53:58 +0000 (13:53 +0200)
commit5cbfb6caf956acc366ac35485da371c2f8f29ab2
treec33e63373eafd86e90838e8742523985b76b9fab
parent05ef0baa772a9a4faef3e9ba9053ddc15dddcb30
armv8/fsl-lsch3: Convert flushing L3 to assembly to avoid using stack

Flushing L3 cache in CCN-504 requries d-cache to be disabled. Using
assembly function to guarantee stack is not used before flushing is
completed. Timeout is needed for simualtor on which CCN-504 is not
implemented. Return value can be checked for timeout situation.

Change bootm.c to disable dcache instead of simply flushing, required
by flushing L3.

Signed-off-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/armv8/cache.S
arch/arm/cpu/armv8/cache_v8.c
arch/arm/cpu/armv8/fsl-lsch3/cpu.c
arch/arm/cpu/armv8/fsl-lsch3/lowlevel.S
arch/arm/include/asm/system.h
arch/arm/lib/bootm.c