Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
uboot-imx
Commits
6bb992ba
Commit
6bb992ba
authored
Dec 16, 2004
by
stroese
Browse files
added CONFIG_PCI_CONFIG_HOST_BRIDGE to enable host bridge configuration
parent
a842a6d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/pci.c
View file @
6bb992ba
...
...
@@ -429,8 +429,18 @@ int pci_hose_scan_bus(struct pci_controller *hose, int bus)
dev
+=
PCI_BDF
(
0
,
0
,
1
))
{
/* Skip our host bridge */
if
(
dev
==
PCI_BDF
(
hose
->
first_busno
,
0
,
0
)
)
continue
;
if
(
dev
==
PCI_BDF
(
hose
->
first_busno
,
0
,
0
)
)
{
#if defined(CONFIG_PCI_CONFIG_HOST_BRIDGE)
/* don't skip host bridge */
/*
* Only skip hostbridge configuration if "pciconfighost" is not set
*/
if
(
getenv
(
"pciconfighost"
)
==
NULL
)
{
continue
;
/* Skip our host bridge */
}
#else
continue
;
/* Skip our host bridge */
#endif
}
if
(
PCI_FUNC
(
dev
)
&&
!
found_multi
)
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment