X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_pci.c;h=82d97178f5dd24ad1482e6c8450b62ce110a8b84;hb=8e1a3fe545bbcfceafe183344ebc9f1ad03819c1;hp=10e06912c4b3f846794b542d2e27f610d4397f20;hpb=65c450b47a62659d522cfa8f4fa1e4e5c60dccd0;p=u-boot diff --git a/common/cmd_pci.c b/common/cmd_pci.c index 10e06912c4..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) || defined(CONFIG_CMD_PCI) - extern int cmd_get_data_size(char* arg, int default_size); unsigned char ShortPCIListing = 1; @@ -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 */