u-boot/arch
Paul Burton fa476f75bf mips32: detect L1 cache sizes if they're not defined
For boards such as the MIPS Malta with an FPGA core card it is desirable
to be able to detect the L1 cache sizes at runtime, since they are not
dependant upon the board but on the FPGA bitstream in use. This patch
performs that detection when the CONFIG_SYS_[DI]CACHE_SIZE macros are
not defined by the board configuration. In cases where the sizes are
detected this patch also removes the restriction that the I-cache &
D-cache line sizes must be the same, as this is not necessarily true.

If the cache sizes are defined by a configuration then they will be
hardcoded as before, so this patch will not add overhead to such
boards.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
2013-11-09 17:21:01 +01:00
..
arm include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
avr32 avr32: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
blackfin include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
m68k include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
microblaze include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
mips mips32: detect L1 cache sizes if they're not defined 2013-11-09 17:21:01 +01:00
nds32 nds32: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
nios2 nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
openrisc openrisc: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
powerpc include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
sandbox sandbox: convert makefiles to Kbuild style 2013-10-31 13:26:44 -04:00
sh sh: convert to common timer code 2013-11-04 11:08:10 -05:00
sparc include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
x86 cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00