All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ?
@ 2017-08-29 10:47 Joakim Tjernlund
  2017-08-29 13:21 ` Joakim Tjernlund
  2017-08-29 14:59 ` York Sun
  0 siblings, 2 replies; 15+ messages in thread
From: Joakim Tjernlund @ 2017-08-29 10:47 UTC (permalink / raw)
  To: u-boot

As we are looking at PCI stuff ATM I would like to ask
about PEX_GCLK_RATIO in E500 CPUs. I cannot find this is setup
at all for E500 but I THINK this is required.

In 83xx one do:
get_clocks();
/* Configure the PCIE controller core clock ratio */
out_le32(hose_cfg_base + PEX_GCLK_RATIO,
(((bus ? gd->arch.pciexp2_clk : gd->arch.pciexp1_clk)
/ 1000000) * 16) / 333);
udelay(1000000);

Any clues?

 Jocke

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-09-07  7:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-29 10:47 [U-Boot] setup of PEX_GCLK_RATIO in E500 CPUs(P2010) missing ? Joakim Tjernlund
2017-08-29 13:21 ` Joakim Tjernlund
2017-08-29 15:43   ` York Sun
2017-08-29 17:06     ` Joakim Tjernlund
2017-08-29 17:33       ` York Sun
2017-08-30 13:05         ` Joakim Tjernlund
2017-08-30 15:25           ` York Sun
2017-08-30 16:04             ` Joakim Tjernlund
2017-09-05 12:45             ` Joakim Tjernlund
2017-09-06  9:36               ` Mingkai Hu
2017-09-06 12:22                 ` Joakim Tjernlund
2017-09-07  6:45               ` Mingkai Hu
2017-09-07  6:55                 ` Joakim Tjernlund
2017-09-07  7:16                   ` Mingkai Hu
2017-08-29 14:59 ` York Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.