summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc86xx/speed.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-23 14:06:21 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:16 -0800
commit1425a87b1478bdb2620a46f2a23af7ca2e4b6073 (patch)
tree7a86d8e8990b8b9d704bd9bac3d69c69d743adc2 /arch/powerpc/cpu/mpc86xx/speed.c
parent3f82b56d41292ad824555978b9f934c1eea1ba0b (diff)
powerpc: MPC8610: Remove macro CONFIG_MPC8610
Replace CONFIG_MPC8610 with ARCH_MPC8610 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc86xx/speed.c')
-rw-r--r--arch/powerpc/cpu/mpc86xx/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc86xx/speed.c b/arch/powerpc/cpu/mpc86xx/speed.c
index 5abe6f0bf2..05f23db457 100644
--- a/arch/powerpc/cpu/mpc86xx/speed.c
+++ b/arch/powerpc/cpu/mpc86xx/speed.c
@@ -115,7 +115,7 @@ int get_clocks(void)
* for that SOC. This information is taken from application note
* AN2919.
*/
-#ifdef CONFIG_MPC8610
+#ifdef CONFIG_ARCH_MPC8610
gd->arch.i2c1_clk = sys_info.freq_systembus;
#else
gd->arch.i2c1_clk = sys_info.freq_systembus / 2;