All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] MIPS: add MIPS_L1_CACHE_SHIFT_2
@ 2014-01-21 18:01 ` Florian Fainelli
  0 siblings, 0 replies; 12+ messages in thread
From: Florian Fainelli @ 2014-01-21 18:01 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf, blogic, macro, Florian Fainelli

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@openwrt.org>
---
 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

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-06-01  8:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-21 18:01 [PATCH 1/2] MIPS: add MIPS_L1_CACHE_SHIFT_2 Florian Fainelli
2014-01-21 18:01 ` Florian Fainelli
2014-01-21 18:01 ` [PATCH 2/2] MIPS: fix DECStation build for L1_CACHE_SHIFT value Florian Fainelli
2014-01-21 18:01   ` Florian Fainelli
2014-03-23  2:16   ` Maciej W. Rozycki
2014-03-23 19:01     ` Florian Fainelli
2014-04-01  0:06   ` Maciej W. Rozycki
2014-06-01  8:31     ` Maciej W. Rozycki
2014-03-24 14:12 ` [PATCH 1/2] MIPS: add MIPS_L1_CACHE_SHIFT_2 Ralf Baechle
2014-03-24 16:20   ` Maciej W. Rozycki
2014-03-24 16:44     ` Florian Fainelli
2014-04-01  0:05 ` Maciej W. Rozycki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.