Skip to contentSkip to conversation

sh: sh7785 early scif fix

PATCH Applied Magnus Damm 2 participants 2 messages May 7, 2009 – May 8, 2009 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: sh7785 early scif fix

From: Magnus Damm <[email protected]>

This patch moves the SH4 case of EARLY_SCIF_CONSOLE_PORT so the SH7785 default value gets used. Without this patch the value for SH7785 is set to 0xffe80000.

---

 arch/sh/Kconfig.debug |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/sh/Kconfig.debug +1 -1
@@ -38,10 +38,10 @@ config EARLY_SCIF_CONSOLE_PORT
 	default "0xffe00000" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7763 || \
 				CPU_SUBTYPE_SH7722 || CPU_SUBTYPE_SH7366 || \
 				CPU_SUBTYPE_SH7343
-	default "0xffe80000" if CPU_SH4
 	default "0xffea0000" if CPU_SUBTYPE_SH7785
 	default "0xfffe8000" if CPU_SUBTYPE_SH7203
 	default "0xfffe9800" if CPU_SUBTYPE_SH7206 || CPU_SUBTYPE_SH7263
+	default "0xffe80000" if CPU_SH4
 	default "0x00000000"
 
 config EARLY_PRINTK
Applied
#1 lore raw
Quoted 3 lines · Magnus Damm

This patch moves the SH4 case of EARLY_SCIF_CONSOLE_PORT so the SH7785 default value gets used. Without this patch the value for SH7785 is set to 0xffe80000.

Quoted 3 lines · Magnus Damm

Make sure that clk->ops->init() only gets called once in the case of CLK_ALWAYS_ENABLED. Without this patch the init() callback may be called multiple times.

Quoted 2 lines · Magnus Damm

Update the r7785 highlander defconfig to fix
PCLK value and that mode4 is set high.

Quoted 2 lines · Magnus Damm

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

I've applied these, thanks.