u-boot-brain/arch/mips/include/asm
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
..
addrspace.h MIPS: add support for 64 bit addressing 2012-10-16 15:02:08 +02:00
asm.h MIPS: don't use camel-case style 2012-10-16 15:02:08 +02:00
au1x00.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
bitops.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
byteorder.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
cache.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
cachectl.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
cacheops.h MIPS: don't use camel-case style 2012-10-16 15:02:08 +02:00
config.h MIPS: bootm: add support for generic relocation of init ramdisks 2013-08-13 11:58:48 +02:00
errno.h MIPS: asm/errno.h: switch to asm-generic/errno.h 2013-06-08 23:10:10 +02:00
global_data.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
inca-ip.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
io.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
isadep.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
jz4740.h MIPS: Ingenic XBurst Jz4740 processor support 2011-10-10 22:06:12 +09:00
malta.h MIPS: qemu-malta: setup GT64120 registers as done by YAMON 2013-07-24 09:51:04 -04:00
mipsregs.h mips32: detect L1 cache sizes if they're not defined 2013-11-09 17:21:01 +01:00
posix_types.h MIPS: add support for 64 bit addressing 2012-10-16 15:02:08 +02:00
processor.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
ptrace.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
reboot.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
reg.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
regdef.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sgidefs.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
string.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
system.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
u-boot-mips.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
u-boot.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
unaligned.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00