* [U-Boot] [PATCH 3/5 v6] pci: make pci_get_hose_head() available to external users
@ 2016-03-10 16:52 Stuart Yoder
2016-03-22 15:39 ` york sun
0 siblings, 1 reply; 2+ messages in thread
From: Stuart Yoder @ 2016-03-10 16:52 UTC (permalink / raw)
To: u-boot
From: Stuart Yoder <stuart.yoder@nxp.com>
put pci_get_hose_head() prototype in header so it is available to
external users-- allowing them to find and iterate over all pci controllers
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
---
-v6: no changes
include/pci.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/pci.h b/include/pci.h
index 68548b0..8698056 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -700,6 +700,7 @@ extern void *pci_map_bar(pci_dev_t pdev, int bar, int flags);
extern void pci_register_hose(struct pci_controller* hose);
extern struct pci_controller* pci_bus_to_hose(int bus);
extern struct pci_controller *find_hose_by_cfg_addr(void *cfg_addr);
+extern struct pci_controller *pci_get_hose_head(void);
extern int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev);
extern int pci_hose_scan(struct pci_controller *hose);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH 3/5 v6] pci: make pci_get_hose_head() available to external users
2016-03-10 16:52 [U-Boot] [PATCH 3/5 v6] pci: make pci_get_hose_head() available to external users Stuart Yoder
@ 2016-03-22 15:39 ` york sun
0 siblings, 0 replies; 2+ messages in thread
From: york sun @ 2016-03-22 15:39 UTC (permalink / raw)
To: u-boot
On 03/10/2016 09:13 AM, Stuart Yoder wrote:
> From: Stuart Yoder <stuart.yoder@nxp.com>
>
> put pci_get_hose_head() prototype in header so it is available to
> external users-- allowing them to find and iterate over all pci controllers
>
> Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
> ---
> -v6: no changes
>
> include/pci.h | 1 +
> 1 file changed, 1 insertion(+)
>
Applied to u-boot-fsl-qoriq, awaiting upstream.
Thanks.
York
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-22 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10 16:52 [U-Boot] [PATCH 3/5 v6] pci: make pci_get_hose_head() available to external users Stuart Yoder
2016-03-22 15:39 ` york sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox