]> git.sur5r.net Git - u-boot/commit
MPC83XX: Fix PCI express clock setup
authorBill Cook <cook@isgchips.com>
Wed, 25 May 2011 19:51:07 +0000 (15:51 -0400)
committerKim Phillips <kim.phillips@freescale.com>
Thu, 7 Jul 2011 00:09:28 +0000 (19:09 -0500)
commit810cb19003ffe0115d10700fc512a2a743916f20
tree326ec25ea3eb481b753b05d9a991fe3ef1e6fdb0
parentf5f30dea2a133e5393eef306c43eb173ff0e9fc2
MPC83XX: Fix PCI express clock setup

On a 8308 based board it was found that the PEX_GLK_RATIO register
(programmed in arch/powerpc/cpu/mpc83xx/pcie.c) was getting set to 0, This
was tracked to the fact that the pci express clock frequency was not being
assigned to the pciexp1_clk entry in the global data structure in file
arch/powerpc/cpu/mpc83xx/speed.c. Fix this and a similiar issue in
'do_clocks' command.

Signed-off-by: Bill Cook <cook@isgchips.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
arch/powerpc/cpu/mpc83xx/speed.c