Skip to content
Snippets Groups Projects
Commit c7190f02 authored by Kim Phillips's avatar Kim Phillips
Browse files

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: default avatarKim Phillips <kim.phillips@freescale.com>
parent 00ec0ff5
No related branches found
No related tags found
Loading
Showing with 188 additions and 123 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment