]> 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)
committerYork Sun <yorksun@freescale.com>
Tue, 24 Feb 2015 21:08:46 +0000 (13:08 -0800)
commitdcd468b8f43c5077c42c75b15cf3204e6b6be46c
tree2be7011207c86f70368e7372302366b2bb6e2770
parent60385d94e56513b50b87724fb9a3878ee5086da9
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