Skip to contentSkip to conversation

sh: TMU platform data for sh7785

PATCH New Magnus Damm 1 participant 1 message May 7, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: TMU platform data for sh7785

From: Magnus Damm <[email protected]>

This patch adds TMU platform data for sh7785. Both clockevent and clocksource support is enabled.

---

Tested on sh7785lcr and r7785 highlander.

For correct run-time behaviour this patch is needed:
"clocksource: setup mult_orig in clocksource_enable()"

 arch/sh/Kconfig                        |    1 
 arch/sh/kernel/cpu/sh4a/setup-sh7785.c |  204 ++++++++++++++++++++++++++++++++
 2 files changed, 205 insertions(+)
arch/sh/Kconfig +1 -0
@@ -389,6 +389,7 @@ config CPU_SUBTYPE_SH7785
 	select CPU_SHX2
 	select ARCH_SPARSEMEM_ENABLE
 	select SYS_SUPPORTS_NUMA
+	select SYS_SUPPORTS_TMU
 
 config CPU_SUBTYPE_SH7786
 	bool "Support SH7786 processor"
arch/sh/kernel/cpu/sh4a/setup-sh7785.c +204 -0

224 lines not on this page · raw message