]> git.dujemihanovic.xyz Git - u-boot.git/commit
FSL PCI: Configure PCIe reference ratio
authorJoakim Tjernlund <joakim.tjernlund@infinera.com>
Tue, 12 Sep 2017 17:56:41 +0000 (19:56 +0200)
committerYork Sun <york.sun@nxp.com>
Wed, 8 Aug 2018 15:23:48 +0000 (08:23 -0700)
commit6ce83fb3d6ac1cd25772b3c8c1265afbfa42f718
treec34f38c831d61a5f2943ff96658f1f98e764061f
parentb2486b40dce98ca26bcb6e1dda69efb1b0443b9a
FSL PCI: Configure PCIe reference ratio

Most FSL PCIe controllers expects 333 MHz PCI reference clock.
This clock is derived from the CCB but in many cases the ref.
clock is not 333 MHz and a divisor needs to be configured.

This adds PEX_CCB_DIV #define which can be defined for each
type of CPU/platform.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/pci/fsl_pci_init.c