diff options
author | Scott Sweeny <scott.sweeny@timesys.com> | 2010-09-01 12:02:01 -0400 |
---|---|---|
committer | Scott Sweeny <scott.sweeny@timesys.com> | 2010-09-01 12:06:18 -0400 |
commit | 3456a4958ec2ecb2b2e35b1f37039fb28274f182 (patch) | |
tree | bf6aef6608c5410ad8b7e4f49dc2cc58aad22538 /common/cmd_pci.c | |
parent | e1dce181db649aadcf5c83e9459ebf53dd038073 (diff) |
Freescale board patch for MPC5125_TWR board
Diffstat (limited to 'common/cmd_pci.c')
-rw-r--r-- | common/cmd_pci.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/common/cmd_pci.c b/common/cmd_pci.c index 4a9317f16c5..ef57533f5cf 100644 --- a/common/cmd_pci.c +++ b/common/cmd_pci.c @@ -37,6 +37,10 @@ unsigned char ShortPCIListing = 1; +#ifdef CONFIG_FASTBOOT +int pci_init_skipped; +#endif + /* * Follows routines for the output of infos about devices on PCI bus. */ @@ -477,6 +481,13 @@ int do_pci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) pci_dev_t bdf = 0; char cmd = 's'; +#ifdef CONFIG_FASTBOOT + if (pci_init_skipped) { + pci_init_skipped = 0; + pci_init(); + } +#endif + if (argc > 1) cmd = argv[1][0]; |