u-boot/cpu/mpc85xx
Trent Piepho a5d212a263 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: Trent Piepho <tpiepho@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-19 18:20:25 -06:00
..
commproc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk 85xx: Add -mno-spe to e500/85xx builds 2008-04-29 20:08:43 +02:00
cpu.c mpc8xxx: LCRR[CLKDIV] is sometimes five bits 2008-12-19 18:20:25 -06:00
cpu_init.c 85xx: init gd as early as possible 2008-12-04 03:15:43 -06:00
ddr-gen1.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ddr-gen2.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ddr-gen3.c 85xx: Fix the incorrect register used for DDR erratum1 2008-10-24 17:29:37 -05:00
ether_fcc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
fdt.c mpc8[56]xx: Put localbus clock in device tree 2008-12-19 18:20:20 -06:00
interrupts.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
Makefile mpc85xx: Add support for the MPC8536 2008-08-27 11:43:54 -05:00
mp.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mp.h 85xx: Add cpu_mp_lmb_reserve helper to reserve boot page 2008-03-26 11:43:04 -05:00
mpc8536_serdes.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
pci.c 85xx: Add PORDEVSR_PCI1 define 2008-12-04 03:15:43 -06:00
qe_io.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
release.S 85xx: Add basic e500mc core support 2008-10-24 15:10:47 -05:00
resetvec.S * Patches by Xianghua Xiao, 15 Oct 2003: 2003-10-15 23:53:47 +00:00
serial_scc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
speed.c Merge 'next' branch 2008-10-18 21:59:44 +02:00
start.S Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
tlb.c 85xx: Add support to populate addr map based on TLB settings 2008-12-19 18:20:08 -06:00
traps.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00