mpc83xx: correctly set encryption and I2C bus 0 clock
authorNorbert van Bolhuis <nvbolhuis@aimvalley.nl>
Fri, 13 Mar 2009 07:58:14 +0000 (08:58 +0100)
committerKim Phillips <kim.phillips@freescale.com>
Sat, 14 Mar 2009 22:43:58 +0000 (17:43 -0500)
commitb581626c1e2474a3dadf69d4f0e0582eccbc4235
tree3dc96b012222043bf0baf8a107cd365080c3a66d
parent3c92217732edfc0016c3cbdc828471d013d23a36
mpc83xx: correctly set encryption and I2C bus 0 clock

This patch makes sure the correct mask is applied when setting
the encryption and I2C bus 0 clock in SCCR.
Failing to do so may lead to ENCCM being 0 in which case I2C bus 0
won't function.

Signed-off-by: Norbert van Bolhuis <nvbolhuis@aimvalley.nl>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
cpu/mpc83xx/cpu_init.c