[PATCH V10] powerpc/fsl-pci: Unify pci/pcie initialization code
Kumar Gala
galak at kernel.crashing.org
Fri Aug 31 02:53:31 EST 2012
On Aug 28, 2012, at 2:44 AM, Jia Hongtao wrote:
> We unified the Freescale pci/pcie initialization by changing the fsl_pci
> to a platform driver. In previous PCI code architecture the initialization
> routine is called at board_setup_arch stage. Now the initialization is done
> in probe function which is architectural better. Also It's convenient for
> adding PM support for PCI controller in later patch.
>
> Now we registered pci controllers as platform devices. So we combine two
> initialization code as one platform driver.
>
> Signed-off-by: Jia Hongtao <B38951 at freescale.com>
> Signed-off-by: Li Yang <leoli at freescale.com>
> Signed-off-by: Chunhe Lan <Chunhe.Lan at freescale.com>
> ---
> Changes for V10:
> * Just update comments for mpc85xx_cds_pci_assign_primary
What do we have to say w/regards to Ben's comment about breaking of pci_fixup_final by moving to a platform driver?
- k
More information about the Linuxppc-dev
mailing list