summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc512x/cpu_init.c
diff options
context:
space:
mode:
authorBenoît Thébaudeau <benoit.thebaudeau@advansee.com>2013-04-23 10:17:42 +0000
committerStefano Babic <sbabic@denx.de>2013-04-28 11:07:41 +0200
commit83306927de028b4654eca96dc1476ce3f4753b31 (patch)
tree3facfb8183f9b20315819c701e1b5fe19ab59e06 /arch/powerpc/cpu/mpc512x/cpu_init.c
parent0f67e09e9ef354ae2d282091adb3dc531f2aef7d (diff)
mpc: iim: Switch to common fsl_iim
Make all mpc512x code point to the new common fsl_iim driver, and remove the former mpc512x-specific iim driver. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc512x/cpu_init.c')
-rw-r--r--arch/powerpc/cpu/mpc512x/cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc512x/cpu_init.c b/arch/powerpc/cpu/mpc512x/cpu_init.c
index b308cb4be3..0e20ded4c7 100644
--- a/arch/powerpc/cpu/mpc512x/cpu_init.c
+++ b/arch/powerpc/cpu/mpc512x/cpu_init.c
@@ -201,7 +201,7 @@ void cpu_init_f (volatile immap_t * im)
*/
out_be32(&im->clk.sccr[0], SCCR1_CLOCKS_EN);
out_be32(&im->clk.sccr[1], SCCR2_CLOCKS_EN);
-#if defined(CONFIG_IIM) || defined(CONFIG_CMD_FUSE)
+#if defined(CONFIG_FSL_IIM) || defined(CONFIG_CMD_FUSE)
setbits_be32(&im->clk.sccr[1], CLOCK_SCCR2_IIM_EN);
#endif
}