diff options
author | Florian Fainelli <florian@openwrt.org> | 2014-01-14 12:54:39 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-24 16:39:55 -0500 |
commit | a4c0201e2306b12354776158ae91fa7d2129c12f (patch) | |
tree | bf24a3d7a94d2190619b190009dc1beffae144c2 /arch/mips | |
parent | 930beb5ac09aaeee48d81c57aec0d17a42a33ce8 (diff) |
MIPS: update MIPS_L1_CACHE_SHIFT based on MIPS_L1_CACHE_SHIFT_<N>
All platforms that require a special MIPS_L1_CACHE_SHIFT value have been
updated, such that we can now make MIPS_L1_CACHE_SHIFT default to the
appropriate integer value based on the select MIPS_L1_CACHE_SHIFT_<N>
variable.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 664c9974521f..db8fae3341e2 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -1110,9 +1110,10 @@ config MIPS_L1_CACHE_SHIFT_7 | |||
1110 | 1110 | ||
1111 | config MIPS_L1_CACHE_SHIFT | 1111 | config MIPS_L1_CACHE_SHIFT |
1112 | int | 1112 | int |
1113 | default "4" if MACH_DECSTATION || MIKROTIK_RB532 || PMC_MSP4200_EVAL || SOC_RT288X | 1113 | default "4" if MIPS_L1_CACHE_SHIFT_4 |
1114 | default "6" if MIPS_CPU_SCACHE | 1114 | default "5" if MIPS_L1_CACHE_SHIFT_5 |
1115 | default "7" if SGI_IP22 || SGI_IP27 || SGI_IP28 || SNI_RM || CPU_CAVIUM_OCTEON | 1115 | default "6" if MIPS_L1_CACHE_SHIFT_6 |
1116 | default "7" if MIPS_L1_CACHE_SHIFT_7 | ||
1116 | default "5" | 1117 | default "5" |
1117 | 1118 | ||
1118 | config HAVE_STD_PC_SERIAL_PORT | 1119 | config HAVE_STD_PC_SERIAL_PORT |