[U-Boot] [PATCH v2 1/2] 85xx/mpc8536ds: Use is_serdes_configured()to determine of PCIe enabled

Li Yang-R58472 r58472 at freescale.com
Wed Apr 28 10:25:57 CEST 2010


 
>>Subject: [U-Boot] [PATCH v2 1/2] 85xx/mpc8536ds: Use 
>>is_serdes_configured()to determine of PCIe enabled
>>
>>The new is_serdes_configured covers a broader range of 
>devices than the 
>>PCI specific code.  Use it instead as we convert away from the
>>is_fsl_pci_cfg() code.
>>
>>Additionally move to setting LAWs for PCI based on if its configured.
>>Also updated PCI FDT fixup code to remove PCI controllers from dtb if 
>>they are configured.
>>
>>Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
>>---
>>* Added code to handle dynamic LAW setup for PCI
>>* Added removing of PCI controller nodes from dtb if not cfg
>>
>> arch/powerpc/cpu/mpc8xxx/pci_cfg.c    |   12 ------------
>> board/freescale/mpc8536ds/law.c       |    8 --------
>> board/freescale/mpc8536ds/mpc8536ds.c |   33 
>>+++++++++++++++++++++++++++++----
>
>Wouldn't it be better to share the PCIE initialization code 
>through all the MPC85xx boards?  Like in the P2020 serdes 
>patch series I proposed last year.  What do you think?

The patch can be referenced at
http://www.mail-archive.com/u-boot@lists.denx.de/msg26339.html

- Leo


More information about the U-Boot mailing list