u-boot/arch/arc/lib
Eugeniy Paltsev 9f0253c61a ARC: Cache: Add missing cache cleanup before cache disable
Add missing cache cleanup before cache disable:
 * Flush and invalidate L1 D$ before disabling. Flush and invalidate
   SLC before L1 D$ disabling (as it will be bypassed for data)
   Otherwise we can lose some data when we disable L1 D$ if this data
   isn't flushed to next level cache. Or we can get wrong data if L1 D$
   has some entries after enable which we modified when the L1 D$ was
   disabled.
 * Invalidate L1 I$ before disabling. Otherwise we can execute wrong
   instructions after L1 I$ enable if we modified any code when
   L1 I$ was disabled.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-03-21 17:06:55 +03:00
..
_millicodethunk.S arc: build libgcc in U-Boot 2015-02-09 16:41:20 +03:00
bootm.c ARC: Implement a function to sync and cleanup caches 2018-03-21 17:06:54 +03:00
cache.c ARC: Cache: Add missing cache cleanup before cache disable 2018-03-21 17:06:55 +03:00
cpu.c board_f: Rename initdram() to dram_init() 2017-04-13 09:40:57 -04:00
init_helpers.c ARC: Implement a function to sync and cleanup caches 2018-03-21 17:06:54 +03:00
interrupts.c arc: Update exception & interrupt handling for ARCv2 2016-08-05 12:50:25 +03:00
ints_low.S arc: Update exception & interrupt handling for ARCv2 2016-08-05 12:50:25 +03:00
libgcc2.c arc: build libgcc in U-Boot 2015-02-09 16:41:20 +03:00
libgcc2.h arc: build libgcc in U-Boot 2015-02-09 16:41:20 +03:00
Makefile arc: Get rid of handwritten string routines 2018-03-21 16:21:34 +03:00
relocate.c arc: Introduce a possibility to not relocate U-boot 2018-03-21 16:21:34 +03:00
reset.c arc: move common sources in library 2015-01-15 22:40:49 +03:00
start.S arc: Introduce a possibility to not relocate U-boot 2018-03-21 16:21:34 +03:00