u-boot-brain/arch/arc
Eugeniy Paltsev 7579087320 ARC: Cache: Get rid of [slc,pae,icache,dcache]_exists global variables
There is a problem with current implementation if we start U-Boot
from ROM, as we use global variables before ther initialization,
so these variables get overwritten when we copy .data section
from ROM.

Instead we'll use icache_exists(), dcache_exists(), slc_exists(), pae_exists()
functions which directly check BCRs every time.

In U-Boot case ops are used only during self-relocation and DMA
so we shouldn't be hit by noticeable performance degradation.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2018-03-21 17:06:54 +03:00
..
cpu arc: No need in sections defined in sources with newer tools 2016-08-05 12:50:25 +03:00
dts ARC: HSDK: DTS: Add cgu-clk node 2018-01-19 17:59:35 +03:00
include/asm ARC: Move BCR encodings to separate header file 2018-03-21 17:06:54 +03:00
lib ARC: Cache: Get rid of [slc,pae,icache,dcache]_exists global variables 2018-03-21 17:06:54 +03:00
config.mk arc: Eliminate unused code and data with GCC's garbage collector 2018-03-21 16:21:34 +03:00
Kconfig arc: Add support for HS Development Kit board 2017-06-29 19:34:10 +03:00
Makefile arc: introduce separate section for interrupt vector table 2015-01-15 22:38:42 +03:00