Some older machines such as the DECStation use a L1 data-cache shift of 2 (value of 4), add a Kconfig symbol for this value so they can express this requirement. Signed-off-by: Florian Fainelli <florian@xxxxxxxxxxx> --- arch/mips/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 03d0ed3..9ab4239 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1098,6 +1098,9 @@ config FW_SNIPROM config BOOT_ELF32 bool +config MIPS_L1_CACHE_SHIFT_2 + bool + config MIPS_L1_CACHE_SHIFT_4 bool @@ -1112,6 +1115,7 @@ config MIPS_L1_CACHE_SHIFT_7 config MIPS_L1_CACHE_SHIFT int + default "2" if MIPS_L1_CACHE_SHIFT_2 default "4" if MIPS_L1_CACHE_SHIFT_4 default "5" if MIPS_L1_CACHE_SHIFT_5 default "6" if MIPS_L1_CACHE_SHIFT_6 -- 1.8.3.2