diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2010-03-30 10:07:12 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2010-04-07 00:11:39 -0500 |
commit | 5a85a3096940b0a0cd016c8acf4944421c64f8c7 (patch) | |
tree | c6f0b8ec9d3345d93feec67beb5ea6690616b099 /include/ns87308.h | |
parent | 49b97d9c8ea7b11c4fc9e457cc2cd9fd6ebf0c21 (diff) | |
download | u-boot-imx-5a85a3096940b0a0cd016c8acf4944421c64f8c7.zip u-boot-imx-5a85a3096940b0a0cd016c8acf4944421c64f8c7.tar.gz u-boot-imx-5a85a3096940b0a0cd016c8acf4944421c64f8c7.tar.bz2 |
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: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/ns87308.h')
0 files changed, 0 insertions, 0 deletions