u-boot/arch/arm/lib
Arun Mankuzhi 44df5e8d30 arm: move flush_dcache_all() to just before disable cache
In Cortex-A15 architecture, when we run cache invalidate
the cache clean operation executes automatically.
So if there are any dirty cache lines before disabling the L2 cache
these will be synchronized with the main memory when
invalidate_dcache_all() runs in the last part of U-boot

The two functions after flush_dcache_all is using the stack. So this
data will be on the cache. After disable when invalidate is called the
data will be flushed from cache to memory. This corrupts the stack in
invalida_dcache_all. So this change is required to avoid the u-boot
hang.

So flush has to be done just before clearing CR_C bit

Signed-off-by: Arun Mankuzhi <arun.m@samsung.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
2013-01-10 22:21:27 +01:00
..
_ashldi3.S Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
_ashrdi3.S Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
_divsi3.S Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
_lshrdi3.S Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
_modsi3.S Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
_udivsi3.S Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
_umodsi3.S Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
board.c arm: move C runtime setup code in crt0.S 2013-01-08 22:14:50 +01:00
bootm.c arm bootm: Allow to pass board specified atags 2012-10-30 15:28:05 -07:00
cache-cp15.c arm: move flush_dcache_all() to just before disable cache 2013-01-10 22:21:27 +01:00
cache-pl310.c armv7: cache: remove flush on un-aligned invalidate 2011-09-04 11:36:16 +02:00
cache.c arm: do not force d-cache enable on all boards 2011-09-04 11:36:16 +02:00
crt0.S arm: move C runtime setup code in crt0.S 2013-01-08 22:14:50 +01:00
div0.c Move lib_$ARCH directories to arch/$ARCH/lib 2010-04-13 09:13:03 +02:00
eabi_compat.c arm: Don't use printf() in SPL builds 2012-07-07 14:07:43 +02:00
interrupts.c ARM: prevent misaligned array inits 2012-10-15 11:53:07 -07:00
Makefile arm: move C runtime setup code in crt0.S 2013-01-08 22:14:50 +01:00
memcpy.S arm: lib: memcpy: Do not copy to same address 2011-09-03 22:40:45 +02:00
memset.S arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
reset.c Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
spl.c SPL: Create arch/arm/lib/spl.c for board_init_f and jump_to_image_linux 2012-09-27 09:49:59 -07:00