]> git.sur5r.net Git - u-boot/commit
mpc83xx: don't shift pre-shifted ACR, SPCR, SCCR bitfield masks in cpu_init.c
authorKim Phillips <kim.phillips@freescale.com>
Wed, 19 May 2010 22:06:46 +0000 (17:06 -0500)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 21 May 2010 20:22:39 +0000 (15:22 -0500)
commit71bd860cce4493c5def07804723661e75271052b
treecab7b2848e1510469d120c2224dc38252c366b89
parentf6970d0c545b9134af3b347c75ee3d13545b36d8
mpc83xx: don't shift pre-shifted ACR, SPCR, SCCR bitfield masks in cpu_init.c

commit c7190f028fa950d4d36b6d0b4bb3fc72602ec54c "mpc83xx:
retain POR values of non-configured ACR, SPCR, SCCR, and LCRR
bitfields" incorrectly shifted <register>_<bitfield> (e.g.
ACR_PIPE_DEP) values that were preshifted by their
definition in mpc83xx.h.

this patch removes the unnecessary shifting for the newly
utilized mask values in cpu_init.c, and prevents seemingly
unrelated symptoms such as an mpc8379erdb board from
locking up whilst performing a networking operation,
e.g. a tftp.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
arch/powerpc/cpu/mpc83xx/cpu_init.c