pci: Add ability to re-enumerate PCI buses
authorJohn Schmoller <jschmoller@xes-inc.com>
Fri, 22 Oct 2010 05:20:23 +0000 (00:20 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 22 Oct 2010 07:17:12 +0000 (02:17 -0500)
commit96d6160324c49c81df10b6b4c75d2470cb30dce4
tree8f39289d4721ce30ad091c21cadee229ed3a5954
parent9660c5de74aae900077c3769d7d18b39a124d9d5
pci: Add ability to re-enumerate PCI buses

Add a new 'pci enum' command which re-enumerates the PCI buses.  This
command is enabled via the CONFIG_CMD_PCI_ENUM define and can be useful
in boards with FPGAs connected via PCI/PCIe, boards that support PCI
hot-plugging, or during PCI debug.

Also enable the 'pci enum' command for X-ES's Freescale-based boards.

Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Wolfgang Denk <wd@denx.de>
common/cmd_pci.c
drivers/pci/fsl_pci_init.c
drivers/pci/pci.c
include/configs/XPEDITE5170.h
include/configs/XPEDITE5200.h
include/configs/XPEDITE5370.h