Commit e48f7eb2 authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Benjamin Herrenschmidt

powerpc/maple: Enable scom access functions on Maple

Enable functions used to access SCOM if PPC_MAPLE is defined: they are
used by cpufreq driver to control hardware.
Signed-off-by: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 3d41e0f6
...@@ -339,7 +339,7 @@ _GLOBAL(real_205_writeb) ...@@ -339,7 +339,7 @@ _GLOBAL(real_205_writeb)
#endif /* CONFIG_PPC_PASEMI */ #endif /* CONFIG_PPC_PASEMI */
#ifdef CONFIG_CPU_FREQ_PMAC64 #if defined(CONFIG_CPU_FREQ_PMAC64) || defined(CONFIG_CPU_FREQ_MAPLE)
/* /*
* SCOM access functions for 970 (FX only for now) * SCOM access functions for 970 (FX only for now)
* *
...@@ -408,7 +408,7 @@ _GLOBAL(scom970_write) ...@@ -408,7 +408,7 @@ _GLOBAL(scom970_write)
/* restore interrupts */ /* restore interrupts */
mtmsrd r5,1 mtmsrd r5,1
blr blr
#endif /* CONFIG_CPU_FREQ_PMAC64 */ #endif /* CONFIG_CPU_FREQ_PMAC64 || CONFIG_CPU_FREQ_MAPLE */
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment