mpc83xx: retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields
authorKim Phillips <kim.phillips@freescale.com>
Fri, 25 Sep 2009 23:19:44 +0000 (18:19 -0500)
committerKim Phillips <kim.phillips@freescale.com>
Sun, 27 Sep 2009 02:19:38 +0000 (21:19 -0500)
commitc7190f028fa950d4d36b6d0b4bb3fc72602ec54c
treeea0ece278a5c2ac1bae9a1bdbe66ba796368f55f
parent00ec0ff549b8cb6fb6d40e275aeb5a460642a3bd
mpc83xx: retain POR values of non-configured ACR, SPCR, SCCR, and LCRR bitfields

some LCRR bits are not documented throughout the 83xx family RMs.
New board porters copying similar board configurations might omit
setting e.g., DBYP since it was not documented in their SoC's RM.

Prevent them bricking their board by retaining power on reset values
in bit fields that the board porter doesn't explicitly configure
via CONFIG_SYS_<registername>_<bitfield> assignments in the board
config file.

also move LCRR assignment to cpu_init_r[am] to help ensure no
transactions are being executed via the local bus while CLKDIV is being
modified.

also start to use i/o accessors.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 files changed:
cpu/mpc83xx/cpu_init.c
include/configs/MPC8313ERDB.h
include/configs/MPC8315ERDB.h
include/configs/MPC8323ERDB.h
include/configs/MPC832XEMDS.h
include/configs/MPC8349EMDS.h
include/configs/MPC8349ITX.h
include/configs/MPC8360EMDS.h
include/configs/MPC8360ERDK.h
include/configs/MPC837XEMDS.h
include/configs/MPC837XERDB.h
include/configs/MVBLM7.h
include/configs/SIMPC8313.h
include/configs/TQM834x.h
include/configs/kmeter1.h
include/configs/sbc8349.h
include/configs/vme8349.h