Skip to content
Snippets Groups Projects
Commit 5a85a309 authored by Kumar Gala's avatar Kumar Gala
Browse files

ppc/8xxx: Delete PCI nodes from device tree if not configured


If the PCI controller wasn't configured or enabled delete from the
device tree (include its alias).

For the case that we didn't even configure u-boot with knowledge of
the controller we can use the fact that the pci_controller pointer
is NULL to delete the node in the device tree.  We determine that
a controller was not setup (because of HW config) based on the fact
that cfg_addr wasn't setup.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 49b97d9c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment