Skip to content
Snippets Groups Projects
Commit a5d212a2 authored by Trent Piepho's avatar Trent Piepho Committed by Andrew Fleming-AFLEMING
Browse files

mpc8xxx: LCRR[CLKDIV] is sometimes five bits


On newer CPUs, 8536, 8572, and 8610, the CLKDIV field of LCRR is five bits
instead of four.

In order to avoid an ifdef, LCRR_CLKDIV is set to 0x1f on all systems.  It
should be safe as the fifth bit was defined as reserved and set to 0.

Code that was using a hard coded 0x0f is changed to use LCRR_CLKDIV.

Signed-off-by: default avatarTrent Piepho <tpiepho@freescale.com>
Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
Acked-by: default avatarJon Loeliger <jdl@freescale.com>
parent 58ec4866
No related branches found
No related tags found
Loading
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