u-boot-brain/arch/mips
Daniel Schwierzeck f53830e74e MIPS: kconfig: add option for MIPS_L1_CACHE_SHIFT
Add Kconfig symbol for L1 cache shift like the kernel does.
The value of CONFIG_SYS_CACHELINE_SIZE is not a reliable source
for ARCH_DMA_MINALIGN anymore, because it is optional on MIPS.
If CONFIG_SYS_CACHELINE_SIZE is not defined by a board, the
cache sizes are automatically detected and ARCH_DMA_MINALIGN
would be set to 128 Bytes.

The default value for CONFIG_MIPS_L1_CACHE_SHIFT is 5 which
corresponds to 32 Bytes. All current MIPS boards already used
that value. While on it, fix the Malta board to use a value of 6
like the kernel port does.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2016-01-16 21:06:46 +01:00
..
cpu MIPS: fix annotation of _start and relocate_code 2016-01-16 21:06:45 +01:00
dts MIPS: add initial infrastructure for device-tree files 2016-01-16 21:06:45 +01:00
include/asm MIPS: kconfig: add option for MIPS_L1_CACHE_SHIFT 2016-01-16 21:06:46 +01:00
lib MIPS: bootm: use CONFIG_IS_ENABLED() everywhere 2015-11-06 13:27:28 +01:00
mach-au1x00 MIPS: Kconfig: optimize gcc -march and -mtune setup 2016-01-16 21:06:46 +01:00
config.mk MIPS: Kconfig: optimize gcc -march and -mtune setup 2016-01-16 21:06:46 +01:00
Kconfig MIPS: kconfig: add option for MIPS_L1_CACHE_SHIFT 2016-01-16 21:06:46 +01:00
Makefile MIPS: Kconfig: optimize gcc -march and -mtune setup 2016-01-16 21:06:46 +01:00