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

Kumar Gala galak at kernel.crashing.org
Wed Apr 28 10:52:45 CEST 2010


On Apr 28, 2010, at 3:25 AM, Li Yang-R58472 wrote:

> 
>>> 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

Yeah, we can get there.  Just one step at a time.

- k


More information about the U-Boot mailing list