X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_pci.c;h=67ff2fbc3b45181a6069941596a8707bc52ae289;hb=c438ea175d8d002c1063b7a94b0c0e26668d1ac9;hp=8be6da93f936a4ca6d3353b9f9b3ac6c0041d4de;hpb=85fad497b3c2e99fa48d18351d2898cf8cdbe898;p=u-boot diff --git a/common/cmd_pci.c b/common/cmd_pci.c index 8be6da93f9..67ff2fbc3b 100644 --- a/common/cmd_pci.c +++ b/common/cmd_pci.c @@ -30,18 +30,11 @@ */ #include - -#ifdef CONFIG_PCI - #include #include #include #include -#if defined(CONFIG_CMD_PCI) - -extern int cmd_get_data_size(char* arg, int default_size); - unsigned char ShortPCIListing = 1; /* @@ -55,7 +48,7 @@ void pci_header_show_brief(pci_dev_t dev); * Subroutine: pciinfo * * Description: Show information about devices on PCI bus. - * Depending on the define CFG_SHORT_PCI_LISTING + * Depending on the define CONFIG_SYS_SHORT_PCI_LISTING * the output will be more or less exhaustive. * * Inputs: bus_no the number of the bus to be scanned. @@ -178,7 +171,7 @@ static char *pci_classes_str(u8 class) * Subroutine: pci_header_show_brief * * Description: Reads and prints the header of the - * specified PCI device in short form. + * specified PCI device in short form. * * Inputs: dev Bus+Device+Function number * @@ -564,7 +557,3 @@ U_BOOT_CMD( "pci write[.b, .w, .l] b.d.f address value\n" " - write to CFG address\n" ); - -#endif - -#endif /* CONFIG_PCI */