X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_pci.c;h=82d97178f5dd24ad1482e6c8450b62ce110a8b84;hb=4a43719a7738712811d822ca8125427b27a55cdc;hp=8d4d90107cec837a5f54dcc14abf413931f03f7a;hpb=0d4983930a3559be92452761cfa268ee9d0f2773;p=u-boot diff --git a/common/cmd_pci.c b/common/cmd_pci.c index 8d4d90107c..82d97178f5 100644 --- a/common/cmd_pci.c +++ b/common/cmd_pci.c @@ -30,16 +30,11 @@ */ #include - -#ifdef CONFIG_PCI - #include #include #include #include -#if (CONFIG_COMMANDS & CFG_CMD_PCI) - extern int cmd_get_data_size(char* arg, int default_size); unsigned char ShortPCIListing = 1; @@ -550,7 +545,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 Configuraton Space\n", + "pci - list and access PCI Configuration Space\n", "[bus] [long]\n" " - short or long list of PCI devices on bus 'bus'\n" "pci header b.d.f\n" @@ -564,7 +559,3 @@ U_BOOT_CMD( "pci write[.b, .w, .l] b.d.f address value\n" " - write to CFG address\n" ); - -#endif /* (CONFIG_COMMANDS & CFG_CMD_PCI) */ - -#endif /* CONFIG_PCI */