[U-Boot] [PATCH] 85xx/p2020ds: Use is_serdes_configured() to determine of PCIe enabled

Timur Tabi timur at freescale.com
Thu May 27 23:28:54 CEST 2010


Kumar Gala wrote:

> We can do something like:
> 
>         for (hose = hose_head; hose; hose = hose->next) {
> 		off = fdt_node_offset_by_compatible(blob, -1, pci_compat);
> 		while (off != -FDT_ERR_NOTFOUND) {
> 			const int reg * = fdt_getprop(blob, off, "reg", NULL);
> 
> 			match hose->cfg_addr against reg
> 
> 			off = fdt_node_offset_by_compatible(blob, off, pci_compat);
> 		}
> 	}

Ok, I'll start working on this after I'm done with the P1022DS.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the U-Boot mailing list