[U-Boot] [PATCH] mpc83xx: don't shift pre-shifted ACR, SPCR, SCCR bitfield masks in cpu_init.c

Kim Phillips kim.phillips at freescale.com
Fri May 21 22:26:51 CEST 2010


On Wed, 19 May 2010 17:06:46 -0500
Kim Phillips <kim.phillips at freescale.com> wrote:

> 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 at freescale.com>
> ---

applied.

Thanks,

Kim


More information about the U-Boot mailing list