X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fcmd_pci.c;h=4a9317f16c5694d968702833e549901d16cccbf5;hb=5fe1377cc46199fe71c47be4b1aa81440ae96f9f;hp=b2aa833abfbcf0b370bdb6c067b6d4018f9f1bc4;hpb=225f0eaa745adfae05931848543d99942798756a;p=oweals%2Fu-boot.git diff --git a/common/cmd_pci.c b/common/cmd_pci.c index b2aa833abf..4a9317f16c 100644 --- a/common/cmd_pci.c +++ b/common/cmd_pci.c @@ -48,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. @@ -534,7 +534,7 @@ int do_pci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) return 1; usage: - printf ("Usage:\n%s\n", cmdtp->usage); + cmd_usage(cmdtp); return 1; } @@ -543,7 +543,7 @@ int do_pci (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) U_BOOT_CMD( pci, 5, 1, do_pci, - "pci - list and access PCI Configuration Space\n", + "list and access PCI Configuration Space", "[bus] [long]\n" " - short or long list of PCI devices on bus 'bus'\n" "pci header b.d.f\n"