]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ppc/85xx: Fix LCRR_CLKDIV defines
authorKumar Gala <galak@kernel.crashing.org>
Wed, 16 Sep 2009 03:21:58 +0000 (22:21 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 24 Sep 2009 17:04:57 +0000 (12:04 -0500)
commit202d94875c98b7b573f136c4f353609758ed9733
treee0af514570c712830620de7fb014415504da698c
parent30d7aae7e82dacf9ae2983fbbf3567515266968b
ppc/85xx: Fix LCRR_CLKDIV defines

For some reason the CLKDIV field varies between SoC in how it interprets
the bit values.

All 83xx and early (e500v1) PQ3 devices support:
 clk/2: CLKDIV = 2
 clk/4: CLKDIV = 4
 clk/8: CLKDIV = 8

Newer PQ3 (e500v2) and MPC86xx support:
 clk/4: CLKDIV = 2
 clk/8: CLKDIV = 4
 clk/16: CLKDIV = 8

Ensure that the MPC86xx and MPC85xx still get the same behavior and make
the defines reflect their logical view (not the value of the field).

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Peter Tyser <ptyser@xes-inc.com>
include/asm-ppc/fsl_lbc.h
include/configs/XPEDITE5170.h
include/configs/XPEDITE5200.h
include/configs/XPEDITE5370.h